From db01996d1d1c0ad81ac51ca7f9939d3c6e407003 Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Sun, 20 Jan 2019 08:52:44 +0800 Subject: [PATCH] Fix link rot --- LanguageClient-neovim.md | 2 +- coc.nvim.md | 2 +- lsp-mode.md | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/LanguageClient-neovim.md b/LanguageClient-neovim.md index eb31887..4aeb2ff 100644 --- a/LanguageClient-neovim.md +++ b/LanguageClient-neovim.md @@ -46,7 +46,7 @@ nvim a.cc # :LanguageClientStart ``` -For a larger project, you'll need [[.ccls|Getting-started#ccls]] or [[compile_commands.json]] in your project root. +For a larger project, you'll need [[.ccls|Project-Setup#ccls-file]] or [[compile_commands.json|Project-Setup#compile_commandsjson]] in your project root. These features will work out-of-the-box. diff --git a/coc.nvim.md b/coc.nvim.md index 95cae1b..814e26e 100644 --- a/coc.nvim.md +++ b/coc.nvim.md @@ -27,7 +27,7 @@ echo '#include \nint main() {}' > a.cc nvim a.cc ``` -For a larger project, you'll need [[.ccls|Getting-started#ccls]] or [[compile_commands.json]] in your project root. +For a larger project, you'll need [[.ccls|Project-Setup#ccls-file]] or [[compile_commands.json|Project-Setup#compile_commandsjson]] in your project root. These features will work out-of-the-box. Find more on coc.nvim's README. diff --git a/lsp-mode.md b/lsp-mode.md index ca1038e..e0a5b9c 100644 --- a/lsp-mode.md +++ b/lsp-mode.md @@ -1,6 +1,6 @@ 1. Install [lsp-mode](https://github.com/emacs-lsp/lsp-mode) and optionally, [lsp-ui](https://github.com/emacs-lsp/lsp-ui) + [company-lsp](https://github.com/tigersoldier/company-lsp) 2. Install [emacs-ccls](https://github.com/MaskRay/emacs-ccls) (Melpa: https://melpa.org/#/ccls) and [configure](#configure) it -3. Open a source file where either [[.ccls|Getting-started#ccls]] or [[compile_commands.json]] is in the project root (it works without them, if you don't need extra compiler command line options like `-I`) +3. Open a source file where either [[.ccls|Project-Setup#ccls-file]] or [[compile_commands.json|Project-Setup#compile_commandsjson]] is in the project root (it works without them, if you don't need extra compiler command line options like `-I`) 4. `(require 'ccls)`, `M-x lsp` `ccls.el` used to be based on the old interface `lsp-mode.el` of lsp-mode and the entry was `lsp-ccls-enable`. @@ -70,7 +70,7 @@ The buffer `*lsp-ccls stderr*` and `--log-file=/tmp/cq.log` contain logs. Also refer to [[Debugging]]. -## [[Initialization options]] +## [[Initialization options|Project-Setup#InitializationOptions]] Initialization options are defined in [config.hh](https://github.com/MaskRay/ccls/blob/master/src/config.hh), but you need to customize them in S-exp. Use `t` for true, `:json-false` for false, `:json-null` for null.