From 7c97560ecbbff7ecbee493752cc0a2409435f1d8 Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Thu, 13 Dec 2018 21:25:12 -0800 Subject: [PATCH] lsp-mode --- lsp-mode.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lsp-mode.md b/lsp-mode.md index eb77544..6417492 100644 --- a/lsp-mode.md +++ b/lsp-mode.md @@ -41,7 +41,7 @@ The only required configuration is `ccls-executable`. Others have good defaults. ;; (setq ccls-executable "/usr/bin/ccls") ;; ;; 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`: @@ -66,7 +66,7 @@ Read `lsp-project-whitelist lsp-project-blacklist` if you don't want to start cc ### 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-: completion-at-point-functions` is `(lsp-completion-at-point)` for completion