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:
parent
64d18409ed
commit
7024e5754d
@ -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])
|
||||
|
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user