aboutsummaryrefslogtreecommitdiff
path: root/vim/autoload/argument.vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2020-01-03 03:55:28 +1300
committerTom Ryder <tom@sanctum.geek.nz>2020-01-03 03:55:28 +1300
commit795a51fc0bfdfc252805748ee0cb5cefb1c8fff1 (patch)
tree104bcf758dbb5dfffafdeca53c1ac432eeed0303 /vim/autoload/argument.vim
parenteb84b7edd1f6b2bf868bd7190671286d08f93a28 (diff)
downloaddotfiles-795a51fc0bfdfc252805748ee0cb5cefb1c8fff1.tar.gz
dotfiles-795a51fc0bfdfc252805748ee0cb5cefb1c8fff1.zip
Fix up some blank lines and comments
Diffstat (limited to 'vim/autoload/argument.vim')
-rw-r--r--vim/autoload/argument.vim4
1 files changed, 3 insertions, 1 deletions
diff --git a/vim/autoload/argument.vim b/vim/autoload/argument.vim
index 9e381000..85d75eb1 100644
--- a/vim/autoload/argument.vim
+++ b/vim/autoload/argument.vim
@@ -1,6 +1,8 @@
+" Escape a single argument for use on an Ex command line; essentially
+" a backport of fnameescape() for versions before v7.1.299
+"
function! argument#Escape(argument) abort
return exists('*fnameescape')
\ ? fnameescape(a:argument)
\ : escape(a:argument, "\n\r\t".' *?[{`$\%#''"|!<')
endfunction
-