-
Notifications
You must be signed in to change notification settings - Fork 9
runtimepath is not added automatically for all plugins #17
Comments
I'll check. Did you try |
yeah, no luck |
@zachliu I see in the related issue that you are trying to call gina function from your vimrc. Problem is that at that moment when you call the function gina is not loaded, because native vim packages load them asynchronously (vimrc first, and then plugins). This should work for you: autocmd VimEnter * call s:setup_gina()
function! s:setup_gina() abort
for gina_cmd in ['branch', 'changes', 'log', 'commit', 'status']
call gina#custom#command#option(gina_cmd, '--opener', 'tabedit')
endfor
for gina_cmd in ['diff']
call gina#custom#command#option(gina_cmd, '--opener', 'vsplit')
endfor
call gina#custom#command#option('commit', '--verbose')
call gina#custom#command#option('branch', '--verbose|--all')
endfunction |
oooohhh, right, how did i forget the async 🤦♂️ |
this may or may not be related, but i found that i also had to put
in that function otherwise the autocmd does nothing, which makes little sense here 🤔 |
where did you find this information? |
it's part of my customized syntax highlighting |
I don't know what syntax highligthing has to do with gina plugin. What is All of this is not related to packager because it doesn't do anything besides installing / updating packages to folder that is auto loaded by vim. |
i'm using |
btw,
means when the |
ah, |
through reasons i have yet known, certain plugins like
lambdalisue/gina.vim
still requires the following to be done manually 🤔otherwise it's not recognized
The text was updated successfully, but these errors were encountered: