From fc59caee501104347803f2b113bbcb9b19e71fd9 Mon Sep 17 00:00:00 2001 From: Oscar Wallberg Date: Tue, 27 Feb 2024 18:45:32 +0100 Subject: [PATCH] chore(docs): remove explicit mention of LSP server dependencies --- README.md | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 61f1175..fe0112e 100644 --- a/README.md +++ b/README.md @@ -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 for instructions. -The following are some noted requirements -for the installations themselves: - -- **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) +Some language servers have additional dependencies. If they are missing a +warning will show up and the server will be disabled. Each dependency is listed +in the server configuration under `lua/lsp/.lua`. 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/.lua`. To disable automatic installation of a selected language server, remove or -comment out the mason part of the configuration at `lua/lsp/.lua`. +comment out the `mason` part of the configuration at `lua/lsp/.lua`. ### Nerd Font It's recommended to use a [Nerd Font](https://www.nerdfonts.com/),