diff options
| -rw-r--r-- | README.md | 3 | ||||
| -rw-r--r-- | doc/nvim-lsp-installer.txt | 4 |
2 files changed, 6 insertions, 1 deletions
@@ -98,6 +98,9 @@ By doing so, nvim-lsp-installer will make sure to inject any necessary propertie function for you. You may find a minimal example below. To see how you can override the default settings for a server, refer to the [Wiki][overriding-default-settings]. +Make sure you don't also set up your servers directly via lspconfig (e.g. `require("lspconfig").clangd.setup {}`), as +this will cause servers to be set up twice! + [overriding-default-settings]: https://github.com/williamboman/nvim-lsp-installer/wiki/Advanced-Configuration#overriding-the-default-lsp-server-options ```lua diff --git a/doc/nvim-lsp-installer.txt b/doc/nvim-lsp-installer.txt index 396a7213..45add6c6 100644 --- a/doc/nvim-lsp-installer.txt +++ b/doc/nvim-lsp-installer.txt @@ -97,7 +97,9 @@ Then, somewhere in your initialization script (see `:h init.lua`): > end) < -Make sure you don't also set up your servers via lspconfig (e.g. `require("lspconfig").clangd.setup {}`)! +Make sure you don't also set up your servers directly via lspconfig (e.g. +`require("lspconfig").clangd.setup {}`), as this will cause servers to be set +up twice! ============================================================================== |
