diff options
| author | Bill Mill <bill@billmill.org> | 2021-11-09 22:06:24 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-09 19:06:24 -0800 |
| commit | 903a1fbca91b74e6fbc905366ce38364b9d7ba98 (patch) | |
| tree | 67973873af2992b6242d1dc2fe03ce3e43873e78 | |
| parent | docs: update server_configurations.md (diff) | |
| download | nvim-lspconfig-903a1fbca91b74e6fbc905366ce38364b9d7ba98.tar nvim-lspconfig-903a1fbca91b74e6fbc905366ce38364b9d7ba98.tar.gz nvim-lspconfig-903a1fbca91b74e6fbc905366ce38364b9d7ba98.tar.bz2 nvim-lspconfig-903a1fbca91b74e6fbc905366ce38364b9d7ba98.tar.lz nvim-lspconfig-903a1fbca91b74e6fbc905366ce38364b9d7ba98.tar.xz nvim-lspconfig-903a1fbca91b74e6fbc905366ce38364b9d7ba98.tar.zst nvim-lspconfig-903a1fbca91b74e6fbc905366ce38364b9d7ba98.zip | |
docs(readme): fix link to server_configurations.md (#1394)
| -rw-r--r-- | README.md | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,6 +1,6 @@ # lspconfig -A [collection of common configurations](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md) for Neovim's built-in [language server client](https://neovim.io/doc/user/lsp.html). +A [collection of common configurations](doc/server_configurations.md) for Neovim's built-in [language server client](https://neovim.io/doc/user/lsp.html). This plugin allows for declaratively configuring, launching, and initializing language servers you have installed on your system. Language server configurations are community-maintained. @@ -40,7 +40,7 @@ These features are not implemented in this repo, but in Neovim core. See `:help npm i -g pyright ``` -2. Add the language server setup to your init.vim. The server name must match those found in the table of contents in [server_configurations.md](server_configurations.md) +2. Add the language server setup to your init.vim. The server name must match those found in the table of contents in [server_configurations.md](doc/server_configurations.md) ```lua lua << EOF @@ -149,7 +149,7 @@ The most common reasons a language server does not start or attach are: 1. The language server is not installed. '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. -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 [server_configurations.md](server_configurations.md) or the source for the list of root directories. +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 [server_configurations.md](doc/server_configurations.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. |
