At the moment, every time I install a new LPS server using nvim-lsp-installer, I add an entry to my .zshenv
, so that the bin folder of the server is available to $PATH
:
PATH="$HOME/.local/share/nvim/lsp_servers/python/node_modules/.bin:$PATH"
The nvim-lsp-installer documentation recommends setting up the path with the cmd
option in each individual LSP configuration. The thing is that I have never seen that in any of my favorite dotfiles from my favorite fellow neovimers that use lsp-config.
Am I missing something? Is there a way to automate the process? Is there a way to add the bin folders to $PATH
during server installation? Or am I doing it the "normal" way?