mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 17:40:06 +08:00
Fix plugin_before hooks
This commit is contained in:
parent
64d18409ed
commit
7024e5754d
@ -16,9 +16,9 @@ function! s:load_plugins() abort
|
|||||||
call zvim#plug#add(plugin[0], plugin[1])
|
call zvim#plug#add(plugin[0], plugin[1])
|
||||||
if zvim#plug#tap(split(plugin[0], '/')[-1]) && get(plugin[1], 'loadconf', 0 )
|
if zvim#plug#tap(split(plugin[0], '/')[-1]) && get(plugin[1], 'loadconf', 0 )
|
||||||
call zvim#plug#defind_hooks(split(plugin[0], '/')[-1])
|
call zvim#plug#defind_hooks(split(plugin[0], '/')[-1])
|
||||||
if get(plugin[1], 'loadconf_before', 0 )
|
endif
|
||||||
call zvim#plug#loadPluginBefore(split(plugin[0], '/')[-1])
|
if zvim#plug#tap(split(plugin[0], '/')[-1]) && get(plugin[1], 'loadconf_before', 0 )
|
||||||
endif
|
call zvim#plug#loadPluginBefore(split(plugin[0], '/')[-1])
|
||||||
endif
|
endif
|
||||||
else
|
else
|
||||||
call zvim#plug#add(plugin[0])
|
call zvim#plug#add(plugin[0])
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
|
" If you want :UltiSnipsEdit to split your window.
|
||||||
|
let g:UltiSnipsEditSplit="vertical"
|
||||||
let g:UltiSnipsExpandTrigger='<tab>'
|
let g:UltiSnipsExpandTrigger='<tab>'
|
||||||
|
let g:UltiSnipsJumpBackwardTrigger="<c-z>"
|
||||||
let g:UltiSnipsJumpForwardTrigger='<tab>'
|
let g:UltiSnipsJumpForwardTrigger='<tab>'
|
||||||
let g:UltiSnipsJumpBackwardTrigger='<S-tab>'
|
let g:UltiSnipsSnippetsDir = '~/.SpaceVim.d/UltiSnips'
|
||||||
let g:UltiSnipsSnippetsDir='~/DotFiles/snippets'
|
|
||||||
|
Loading…
Reference in New Issue
Block a user