1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-02 20:30:05 +08:00

Add snippet dir

This commit is contained in:
wsdjeg 2017-02-02 23:51:26 +08:00
parent 1b801d51f9
commit 896ed2ff6d

View File

@ -1,5 +1,6 @@
if isdirectory(expand('~/DotFiles/snippets/'))
let g:neosnippet#snippets_directory = expand('~/DotFiles/snippets/')
let g:neosnippet#snippets_directory = [expand('~/.SpaceVim.d/snippets/')]
if g:spacevim_force_global_config == 0
call add(g:neosnippet#snippets_directory, getcwd() . '/.Spacevim.d/snippets')
endif
let g:neosnippet#enable_snipmate_compatibility=1
let g:neosnippet#enable_complete_done = 1