lsp-mode

Fangrui Song 2018-12-13 21:25:12 -08:00
parent bc2657db7d
commit 7c97560ecb

@ -41,7 +41,7 @@ The only required configuration is `ccls-executable`. Others have good defaults.
;; (setq ccls-executable "/usr/bin/ccls") ;; (setq ccls-executable "/usr/bin/ccls")
;; ;; Log file ;; ;; Log file
;; (setq ccls-extra-args '("--log-file=/tmp/ccls.log")) ;; (setq ccls-args '("--log-file=/tmp/ccls.log"))
``` ```
A more flexible way is to leave `ccls-executable` unchanged (default: `ccls`) and create a shell wrapper named `ccls` that is in your `PATH`: A more flexible way is to leave `ccls-executable` unchanged (default: `ccls`) and create a shell wrapper named `ccls` that is in your `PATH`:
@ -66,7 +66,7 @@ Read `lsp-project-whitelist lsp-project-blacklist` if you don't want to start cc
### Diagnostics ### Diagnostics
* `M-x lsp-capabilities` LSP workspace is initialized correctly * `(lsp--client-capabilities)` LSP workspace is initialized correctly
* `M-: xref-backend-functions` is `(lsp--xref-backend)` for cross references * `M-: xref-backend-functions` is `(lsp--xref-backend)` for cross references
* `M-: completion-at-point-functions` is `(lsp-completion-at-point)` for completion * `M-: completion-at-point-functions` is `(lsp-completion-at-point)` for completion