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