aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md3
-rw-r--r--doc/nvim-lsp-installer.txt4
2 files changed, 6 insertions, 1 deletions
diff --git a/README.md b/README.md
index bfaa3f8e..5b602b38 100644
--- a/README.md
+++ b/README.md
@@ -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!
==============================================================================