diff options
| author | Michael Lingelbach <m.j.lbach@gmail.com> | 2021-07-26 12:52:34 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-26 12:52:34 -0700 |
| commit | 776c9883425173e21a9f1db4a7562cd7f17f8373 (patch) | |
| tree | fa3c66dba4f16e7d89754d02420b82b594a2d5d9 /README.md | |
| parent | [docgen] Update CONFIG.md (diff) | |
| download | nvim-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.md | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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. |
