Closed themightyoarfish closed 7 years ago
As taken from here: https://github.com/kien/rainbow_parentheses.vim you have to use
au VimEnter * RainbowParentheses
If I understood correctly, this uses autocommand
to execute stuff when entering vim.
@OleMussmann is correct. Vim plugins are loaded after Vim finished processing vimrc, so they are not available at the point (see :help startup
). So you should set up an autocmd such as VimEnter and FileType.
Do I set these up in the .vimrc
? Because if I do that, it still gives me those errors.
When I put
RainbowParentheses
(same withLimelight
) at the very end of my.vimrc
afterlet g:limelight_conceal_ctermfg = 240
I getnot an editor command
for both at startup, while it works when vim is already open. Why could this be?