aboutsummaryrefslogtreecommitdiff
path: root/vim/autoload/escape.vim
diff options
context:
space:
mode:
Diffstat (limited to 'vim/autoload/escape.vim')
-rw-r--r--vim/autoload/escape.vim18
1 files changed, 0 insertions, 18 deletions
diff --git a/vim/autoload/escape.vim b/vim/autoload/escape.vim
deleted file mode 100644
index 37ac3e8b..00000000
--- a/vim/autoload/escape.vim
+++ /dev/null
@@ -1,18 +0,0 @@
-" Escape text for use as an Ex command argument
-function! escape#Arg(arg) abort
- return exists('*fnameescape')
- \ ? fnameescape(a:arg)
- \ : escape(a:arg, "\n\r\t".' *?[{`$\%#''"|!<')
-endfunction
-
-" Escape text for use as a list item
-function! escape#Item(item) abort
- return escape(a:item, ',')
-endfunction
-
-" Escape wildcard characters in list items to prevent e.g. tilde or glob
-" expansion in the resulting item
-"
-function! escape#Wild(string) abort
- return escape(a:string, '\*?[{`''$~')
-endfunction