Recently I decided to switch from Vundle to VimPlug, and I noticed that after installing it...
plug.vimin my autoload directory
and making sure that my vim and neovim was symbol linked so I didn't have to create a whole new set of directories just for neovim with this...
ln -s ~/.vim ~/.config/nvim ln -s ~/.vimrc ~/.config/nvim/init.vim
I was still getting errors. It works perfectly in vim, but soon as I start up nvim I get these list of errors.
Error detected while processing /home/username/.config/nvim/init.vim: line 26: E117: Unknown function: plug#begin line 28: E492: Not an editor command: Plug 'vim-airline/vim-airline' line 29: E492: Not an editor command: Plug 'vim-airline/vim-airline-themes' line 30: E492: Not an editor command: Plug 'scrooloose/nerdtree' line 31: E492: Not an editor command: Plug 'ctrlpvim/ctrlp.vim' line 32: E492: Not an editor command: Plug 'flazz/vim-colorschemes' line 34: E117: Unknown function: plug#end
This is the VimPlug section of my .vimrc
"[VIMPLUG] call plug#begin('~/.vim/plugged') Plug 'vim-airline/vim-airline' Plug 'vim-airline/vim-airline-themes' Plug 'scrooloose/nerdtree' Plug 'ctrlpvim/ctrlp.vim' Plug 'flazz/vim-colorschemes' call plug#end() "[VIMPLUG_END]
What am I doing wrong ?