I’m using “vim-plug” plugin manager. My “.vimrc” file include the following colour scheme:
These colorscheme aren’t recognized by Vim during startup, because I got an error and colorscheme fallbacks to a default theme. If I copy a colorscheme file in the “~/.vim/colors” directory it works. If I set, e.g., ayu colorscheme after vim is started, it works. I tried to put “autocmd VimEnter * :set colorscheme ayu” but it doesn’t work. How can I solve this?
colorscheme ayu command be outside the block delimited by the
call plug#begin() and
call plug#end()? At least according to the syntax defined in vimplug’s documentation:
Shouldn’t it be like this?
Also, I can’t seem to find the
Luxed/ayu-vim repo on github, only
ayu-theme/ayu-vim. Shouldn’t it be
Hi, https://github.com/luxed/ayu-vim is a fork of ‘ayu-theme/ayu-vim’. I found the solution at https://github.com/lifepillar/vim-solarized8. The code to be inserted is the following:
autocmd vimenter * ++nested colorscheme [colorscheme name]