mirror of
https://github.com/gryf/snipmate.vim.git
synced 2026-10-09 15:12:29 +02:00
added support for multiple snippet directories
This commit is contained in:
1 parent
3b64a6788c
commit
d2e3387761
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -21,7 +21,7 @@ au FileType snippet setl noet fdm=indent
|
||||
let s:snippets = {} | let s:multi_snips = {}
|
||||
|
||||
if !exists('snippets_dir')
|
||||
let snippets_dir = split(globpath(&rtp, 'snippets/'), "\n")[0]
|
||||
let snippets_dir = substitute(globpath(&rtp, 'snippets/'), "\n", ',', 'g')
|
||||
endif
|
||||
|
||||
fun! MakeSnip(scope, trigger, content, ...)
|
||||
|
||||
Reference in new issue
Block a user