1
0
mirror of https://github.com/gryf/snipmate.vim.git synced 2026-01-05 05:14:21 +01:00

added support for multiple snippet directories

This commit is contained in:
Michael Sanders
2009-04-05 16:00:50 -04:00
parent 3b64a6788c
commit d2e3387761
2 changed files with 2 additions and 2 deletions

View File

@@ -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, ...)