c0r73x / neotags.nvim

Tag highlight in neovim

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Neotags fails to start when installed with vim-plug

3goliad opened this issue · comments

I have the python3 neovim and psutils packages installed, and I have installed Neotags using vim-plug. On vim startup, I get the message
Error detected while processing VimEnter Auto commands for "*": E117: Unknown function: NeotagsInit
Would you happen to know what might be tripping vim up?

Hi, I use vim-plug myself. From the error it looks like you forgot to run :UpdateRemotePlugins.

I use this in my vimrc for neovim-plugins:

...
function! DoRemote(arg)
    UpdateRemotePlugins
endfunction

Plug 'c0r73x/neotags.nvim', { 'do': function('DoRemote') }
...

Thanks! My apologies.