aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorMichael Lingelbach <m.j.lbach@gmail.com>2021-07-26 12:52:34 -0700
committerGitHub <noreply@github.com>2021-07-26 12:52:34 -0700
commit776c9883425173e21a9f1db4a7562cd7f17f8373 (patch)
treefa3c66dba4f16e7d89754d02420b82b594a2d5d9 /README.md
parent[docgen] Update CONFIG.md (diff)
downloadnvim-lspconfig-776c9883425173e21a9f1db4a7562cd7f17f8373.tar
nvim-lspconfig-776c9883425173e21a9f1db4a7562cd7f17f8373.tar.gz
nvim-lspconfig-776c9883425173e21a9f1db4a7562cd7f17f8373.tar.bz2
nvim-lspconfig-776c9883425173e21a9f1db4a7562cd7f17f8373.tar.lz
nvim-lspconfig-776c9883425173e21a9f1db4a7562cd7f17f8373.tar.xz
nvim-lspconfig-776c9883425173e21a9f1db4a7562cd7f17f8373.tar.zst
nvim-lspconfig-776c9883425173e21a9f1db4a7562cd7f17f8373.zip
docs: mention the minimal init.lua in debugging
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/README.md b/README.md
index 20693d3f..bc93e2a3 100644
--- a/README.md
+++ b/README.md
@@ -125,7 +125,9 @@ EOF
The `on_attach` hook is used to only activate the bindings after the language server attaches to the current buffer.
## Debugging
-The two most common reasons a language server does not start or attach are:
+If you have an issue with lspconfig, the first step is to reproduce with a [minimal configuration](https://github.com/neovim/nvim-lspconfig/blob/master/test/minimal_init.lua).
+
+The most common reasons a language server does not start or attach are:
1. The language server is not installed. nvim-lspconfig does not install language servers for you. You should be able to run the `cmd` defined in each server's lua module from the command line and see that the language server starts. If the `cmd` is an executable name, ensure it is on your path.