aboutsummaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
authorYang Shen <aplshenyang@gmail.com>2022-06-18 14:25:07 +0800
committerGitHub <noreply@github.com>2022-06-18 08:25:07 +0200
commit347eeb78b0d95c3c16d1f85afb975205135b99de (patch)
tree6850efbcaa56669aef058416e789eab6bb805df0 /lua
parentdocs: update server_configurations.md (diff)
downloadnvim-lspconfig-347eeb78b0d95c3c16d1f85afb975205135b99de.tar
nvim-lspconfig-347eeb78b0d95c3c16d1f85afb975205135b99de.tar.gz
nvim-lspconfig-347eeb78b0d95c3c16d1f85afb975205135b99de.tar.bz2
nvim-lspconfig-347eeb78b0d95c3c16d1f85afb975205135b99de.tar.lz
nvim-lspconfig-347eeb78b0d95c3c16d1f85afb975205135b99de.tar.xz
nvim-lspconfig-347eeb78b0d95c3c16d1f85afb975205135b99de.tar.zst
nvim-lspconfig-347eeb78b0d95c3c16d1f85afb975205135b99de.zip
fix(docs): fix the usage of ln to make symbolic links of compile_commands.json (#1961)
Diffstat (limited to 'lua')
-rw-r--r--lua/lspconfig/server_configurations/clangd.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/lspconfig/server_configurations/clangd.lua b/lua/lspconfig/server_configurations/clangd.lua
index 83cfc56d..bd243418 100644
--- a/lua/lspconfig/server_configurations/clangd.lua
+++ b/lua/lspconfig/server_configurations/clangd.lua
@@ -65,7 +65,7 @@ https://clangd.llvm.org/installation.html
- 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/
+ ln -s /path/to/myproject/build/compile_commands.json /path/to/myproject/
```
- 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