vim:plugins: Source optional plugins directly
When adding the `!` only the paths are added to the `runtimepath` and nothing is sourced (yet). As `keys.vim` for example checks if gutentags is loaded before creating a binding to :Tags this has to change and the plugins need to be sourced directly.
This commit is contained in:
@@ -7,13 +7,13 @@ packloadall
|
|||||||
if (has('patch-8.1.1719') || has('nvim'))
|
if (has('patch-8.1.1719') || has('nvim'))
|
||||||
let g:coc_global_extensions =
|
let g:coc_global_extensions =
|
||||||
\ ['coc-clangd', 'coc-sh', 'coc-python', 'coc-vimtex']
|
\ ['coc-clangd', 'coc-sh', 'coc-python', 'coc-vimtex']
|
||||||
packadd! coc.nvim
|
packadd coc.nvim
|
||||||
source $XDG_CONFIG_HOME/vim/coc.nvim.vim
|
source $XDG_CONFIG_HOME/vim/coc.nvim.vim
|
||||||
endif
|
endif
|
||||||
|
|
||||||
" ctags
|
" ctags
|
||||||
if (executable('ctags'))
|
if (executable('ctags'))
|
||||||
packadd! vim-gutentags
|
packadd vim-gutentags
|
||||||
let g:gutentags_ctags_exclude = [
|
let g:gutentags_ctags_exclude = [
|
||||||
\ 'node_modules/*',
|
\ 'node_modules/*',
|
||||||
\ '.git/*',
|
\ '.git/*',
|
||||||
|
|||||||
Reference in New Issue
Block a user