chore(docs): remove explicit mention of LSP server dependencies

This commit is contained in:
2024-02-27 18:45:32 +01:00
parent 1b6e136ec9
commit fc59caee50
+4 -14
View File
@@ -67,25 +67,15 @@ Language servers are installed automatically to the nvim data directory
filetype. Automatic installation can be turned off, see the end of this section filetype. Automatic installation can be turned off, see the end of this section
for instructions. for instructions.
The following are some noted requirements Some language servers have additional dependencies. If they are missing a
for the installations themselves: warning will show up and the server will be disabled. Each dependency is listed
in the server configuration under `lua/lsp/<server>.lua`.
- **diagnostic-languageserver**: npm
- **bash-language-server**: npm
- **cmake-language-server**: python3 with venv
- **jedi-language-server**: python3 with venv
- **intelephense**: npm
- **gopls**: golang
Some servers have additional runtime dependencies:
- **bash-language-server**: shellcheck (optional, used for linting)
If you don't need some specific language server, you may either remove them from If you don't need some specific language server, you may either remove them from
the top of `lua/lsp.lua` or disable them in `lua/lsp/<server>.lua`. the top of `lua/lsp.lua` or disable them in `lua/lsp/<server>.lua`.
To disable automatic installation of a selected language server, remove or To disable automatic installation of a selected language server, remove or
comment out the mason part of the configuration at `lua/lsp/<server>.lua`. comment out the `mason` part of the configuration at `lua/lsp/<server>.lua`.
### Nerd Font ### Nerd Font
It's recommended to use a [Nerd Font](https://www.nerdfonts.com/), It's recommended to use a [Nerd Font](https://www.nerdfonts.com/),