Setting up LSP in Vim
In a previous article, I explained a little about how Language Server Protocol clients work. This time I’m going to explain how we can take advantage of this protocol in Vim.
Installing vim-lsp
Configuring vim-lsp
is a little more complicated than installing other plugins, because it requires many pieces to be put together in order for it to work correctly.
Let’s start by installing vim-lsp
:
1
2
cd ~/.vim/pack/my-plugins/start
git clone https://github.com/prabirshrestha/vim-lsp.git