- Node -> 12.^
- Yarn optional
- Installing using brew
brew install neovim
Note: You can follow it's github guide https://github.com/neovim/neovim/wiki/Installing-Neovim Also you can see my firts tutorial to follow https://dougblack.io/words/a-good-vimrc.html
- This is to allow some pluggins to work
pip3 install --user neovim
Note: You have to use python3
- Execute this command to dowload it
sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
Note: You can also follow the instructions that are in his github repo https://github.com/junegunn/vim-plug
Note: This only is supported for Linux and Mac
- Pick the instalation file for you OS and run it
./install
- Open your file
init.vim
and install plug packages
:PlugInstall
- Create a folder inside '~/.config' called 'nvim' and inside them create a file named init.vim
mkdir ~/.config/nvim
touch ~/.config/nvim/init.vim
- You can copy and paste the 'init.vim' of this repo inside your file
- You need to save the file with ':w'
- Then source the file with ':source %'
- Finaly install the pluggins with ':PlugInstall'
- You will need to add this to your '.zshrc' or '.bashprofile'
export MYVIMRC="~/.config/nvim/init.vim"
-
Before you have to make sure that you have node or nvm
-
You need to install completion packages with
:CocInstall pack
-
You can check the packages in https://github.com/neoclide/coc.nvim/wiki/Using-coc-extensions#implemented-coc-extensions
Note. In case it doesn't work you will need to do it manualy with
npm
oryarn
cd ~/.config/coc/extensions/
npm install coc-json coc-tsserver
- Here you will need to install
coc-solargraph
- Then you will need to install the gem
solargraph
- Also you need to have the ruby version needed
cd your-project-path
gem install solargraph
solargraph config
rbenv install 2.5.1
rbenv global 2.5.1
- For linting you will need to have installed all in gem file with rubocop