mirror of
https://github.com/gryf/snipmate.vim.git
synced 2026-10-09 15:12:29 +02:00
added support for the 'shellslash' option on Windows
This commit is contained in:
1 parent
5527548d63
commit
0180a85088
1 file changed
+1
-1
+1
-1
@@ -55,7 +55,7 @@ fun s:MakeSnippet(text, scope, multisnip)
|
||||
endf
|
||||
|
||||
fun! ExtractSnips(dir, ft)
|
||||
let slash = has('win16') || has('win32') || has('win64') ? '\\' : '/'
|
||||
let slash = !&ssl && (has('win16') || has('win32') || has('win64')) ? '\\' : '/'
|
||||
for path in split(globpath(a:dir, '*'), "\n")
|
||||
if isdirectory(path)
|
||||
for snipFile in split(globpath(path, '*.snippet'), "\n")
|
||||
|
||||
Reference in new issue
Block a user