aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Boman <william@redwill.se>2022-03-14 12:50:12 +0100
committerWilliam Boman <william@redwill.se>2022-03-14 12:50:24 +0100
commit01c1285a3d3e67cca0ceea73937b19d1b30a0746 (patch)
treef9afb59f9e53608133cb794495b32bcaff386124
parentchore(volar): update volar package name (#534) (diff)
downloadmason-01c1285a3d3e67cca0ceea73937b19d1b30a0746.tar
mason-01c1285a3d3e67cca0ceea73937b19d1b30a0746.tar.gz
mason-01c1285a3d3e67cca0ceea73937b19d1b30a0746.tar.bz2
mason-01c1285a3d3e67cca0ceea73937b19d1b30a0746.tar.lz
mason-01c1285a3d3e67cca0ceea73937b19d1b30a0746.tar.xz
mason-01c1285a3d3e67cca0ceea73937b19d1b30a0746.tar.zst
mason-01c1285a3d3e67cca0ceea73937b19d1b30a0746.zip
docs: add missing footnote to Usage section
-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!
==============================================================================