From 347eeb78b0d95c3c16d1f85afb975205135b99de Mon Sep 17 00:00:00 2001 From: Yang Shen Date: Sat, 18 Jun 2022 14:25:07 +0800 Subject: fix(docs): fix the usage of ln to make symbolic links of compile_commands.json (#1961) --- lua/lspconfig/server_configurations/clangd.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lua') 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 -- cgit v1.2.3-70-g09d2