aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgithub-actions <github-actions@github.com>2022-06-13 08:45:30 +0000
committergithub-actions <github-actions@github.com>2022-06-13 08:45:30 +0000
commit650ce7156ca7935e02934eef45b392957ea402e8 (patch)
treefe493717ab77a59666f4a317609bae34e75e9176
parentdocs: unverbose, mention "settings" param (diff)
downloadnvim-lspconfig-650ce7156ca7935e02934eef45b392957ea402e8.tar
nvim-lspconfig-650ce7156ca7935e02934eef45b392957ea402e8.tar.gz
nvim-lspconfig-650ce7156ca7935e02934eef45b392957ea402e8.tar.bz2
nvim-lspconfig-650ce7156ca7935e02934eef45b392957ea402e8.tar.lz
nvim-lspconfig-650ce7156ca7935e02934eef45b392957ea402e8.tar.xz
nvim-lspconfig-650ce7156ca7935e02934eef45b392957ea402e8.tar.zst
nvim-lspconfig-650ce7156ca7935e02934eef45b392957ea402e8.zip
docs: update server_configurations.md
skip-checks: true
-rw-r--r--doc/server_configurations.md18
-rw-r--r--doc/server_configurations.txt18
2 files changed, 24 insertions, 12 deletions
diff --git a/doc/server_configurations.md b/doc/server_configurations.md
index f734078e..c8c37365 100644
--- a/doc/server_configurations.md
+++ b/doc/server_configurations.md
@@ -1,8 +1,9 @@
# Configurations
-<!-- *lspconfig-server-configurations* -->
+<!-- *lspconfig-all* *lspconfig-server-configurations* -->
-The following LSP configs are included. This documentation is autogenerated from the lua files. Follow a link to find documentation for
-that config. This file is accessible in neovim via `:help lspconfig-server-configurations`
+LSP configs provided by nvim-lspconfig are listed below. This documentation is
+autogenerated from the Lua files. You can view this file in Nvim by running
+`:help lspconfig-all`.
- [als](#als)
- [angularls](#angularls)
@@ -737,9 +738,14 @@ require'lspconfig'.ccls.setup{}
https://clangd.llvm.org/installation.html
-**NOTE:** Clang >= 11 is recommended! See [this issue for more](https://github.com/neovim/nvim-lsp/issues/23).
-
-clangd relies on a [JSON compilation database](https://clang.llvm.org/docs/JSONCompilationDatabase.html) specified as compile_commands.json, see https://clangd.llvm.org/installation#compile_commandsjson
+- **NOTE:** Clang >= 11 is recommended! See [#23](https://github.com/neovim/nvim-lsp/issues/23).
+- If `compile_commands.json` lives in a build directory, you should
+ symlink it to the root of your source tree.
+ ```
+ ln -s ~/myproject/compile_commands.json ~/myproject/build/
+ ```
+- clangd relies on a [JSON compilation database](https://clang.llvm.org/docs/JSONCompilationDatabase.html)
+ specified as compile_commands.json, see https://clangd.llvm.org/installation#compile_commandsjson
diff --git a/doc/server_configurations.txt b/doc/server_configurations.txt
index f734078e..c8c37365 100644
--- a/doc/server_configurations.txt
+++ b/doc/server_configurations.txt
@@ -1,8 +1,9 @@
# Configurations
-<!-- *lspconfig-server-configurations* -->
+<!-- *lspconfig-all* *lspconfig-server-configurations* -->
-The following LSP configs are included. This documentation is autogenerated from the lua files. Follow a link to find documentation for
-that config. This file is accessible in neovim via `:help lspconfig-server-configurations`
+LSP configs provided by nvim-lspconfig are listed below. This documentation is
+autogenerated from the Lua files. You can view this file in Nvim by running
+`:help lspconfig-all`.
- [als](#als)
- [angularls](#angularls)
@@ -737,9 +738,14 @@ require'lspconfig'.ccls.setup{}
https://clangd.llvm.org/installation.html
-**NOTE:** Clang >= 11 is recommended! See [this issue for more](https://github.com/neovim/nvim-lsp/issues/23).
-
-clangd relies on a [JSON compilation database](https://clang.llvm.org/docs/JSONCompilationDatabase.html) specified as compile_commands.json, see https://clangd.llvm.org/installation#compile_commandsjson
+- **NOTE:** Clang >= 11 is recommended! See [#23](https://github.com/neovim/nvim-lsp/issues/23).
+- If `compile_commands.json` lives in a build directory, you should
+ symlink it to the root of your source tree.
+ ```
+ ln -s ~/myproject/compile_commands.json ~/myproject/build/
+ ```
+- clangd relies on a [JSON compilation database](https://clang.llvm.org/docs/JSONCompilationDatabase.html)
+ specified as compile_commands.json, see https://clangd.llvm.org/installation#compile_commandsjson