mirror of
https://github.com/gryf/snipmate.vim.git
synced 2025-12-24 15:12:28 +01:00
added support for the 'shellslash' option on Windows
This commit is contained in:
@@ -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