aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorMichael Lingelbach <m.j.lbach@gmail.com>2021-07-11 11:03:14 -0700
committerGitHub <noreply@github.com>2021-07-11 11:03:14 -0700
commitf61146349274e94929faaa4dce010a34c67c3639 (patch)
treef78f5b16169e086e9d1cb5dec8d34f9af5a7f976 /README.md
parent[docgen] Update CONFIG.md (diff)
downloadnvim-lspconfig-f61146349274e94929faaa4dce010a34c67c3639.tar
nvim-lspconfig-f61146349274e94929faaa4dce010a34c67c3639.tar.gz
nvim-lspconfig-f61146349274e94929faaa4dce010a34c67c3639.tar.bz2
nvim-lspconfig-f61146349274e94929faaa4dce010a34c67c3639.tar.lz
nvim-lspconfig-f61146349274e94929faaa4dce010a34c67c3639.tar.xz
nvim-lspconfig-f61146349274e94929faaa4dce010a34c67c3639.tar.zst
nvim-lspconfig-f61146349274e94929faaa4dce010a34c67c3639.zip
Update README.md
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/README.md b/README.md
index ba9178ec..95a261c3 100644
--- a/README.md
+++ b/README.md
@@ -131,6 +131,8 @@ The two most common reasons a language server does not start or attach are:
2. Not triggering root detection. The language server will only start if it is opened in a directory, or child directory, containing a file which signals the *root* of the project. Most of the time, this is a `.git` folder, but each server defines the root config in the lua file. See [CONFIG.md](CONFIG.md) or the source for the list of root directories.
+3. Misconfiguration. You must pass `on_attach` and `capabilities` for **each** `setup {}` if you want these to take effect. You must also **not call `setup {}` twice for the same server**. The second call to `setup {}` will overwrite the first.
+
:LspInfo provides a handy overview of your active and configured language servers. Note, that it will not report any configuration changes applied in `on_new_config`.
Before reporting a bug, check your logs and the output of `:LspInfo`. Add the following to your init.vim to enable logging: