This configures nvim-lsp to use zls.
- build
zls
as described in its README - install
nvim-lsp
(I'm using the Vim8 native packages), once installed add the filezls.lua
under the directorylua/nvim_lsp
- change the
cmd
path to point to your zls binary - add the content of
init.vim
to your$HOME/.config/nvim/init.vim
, modify the mappings if you want.