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

Fix plugin_before hooks

This commit is contained in:
wsdjeg 2017-04-03 12:30:08 +08:00
parent 64d18409ed
commit 7024e5754d
2 changed files with 7 additions and 5 deletions

View File

@ -16,9 +16,9 @@ function! s:load_plugins() abort
call zvim#plug#add(plugin[0], plugin[1])
if zvim#plug#tap(split(plugin[0], '/')[-1]) && get(plugin[1], 'loadconf', 0 )
call zvim#plug#defind_hooks(split(plugin[0], '/')[-1])
if get(plugin[1], 'loadconf_before', 0 )
call zvim#plug#loadPluginBefore(split(plugin[0], '/')[-1])
endif
endif
if zvim#plug#tap(split(plugin[0], '/')[-1]) && get(plugin[1], 'loadconf_before', 0 )
call zvim#plug#loadPluginBefore(split(plugin[0], '/')[-1])
endif
else
call zvim#plug#add(plugin[0])

View File

@ -1,4 +1,6 @@
" If you want :UltiSnipsEdit to split your window.
let g:UltiSnipsEditSplit="vertical"
let g:UltiSnipsExpandTrigger='<tab>'
let g:UltiSnipsJumpBackwardTrigger="<c-z>"
let g:UltiSnipsJumpForwardTrigger='<tab>'
let g:UltiSnipsJumpBackwardTrigger='<S-tab>'
let g:UltiSnipsSnippetsDir='~/DotFiles/snippets'
let g:UltiSnipsSnippetsDir = '~/.SpaceVim.d/UltiSnips'