From 700c423954c42fc326040d76e07f63abca8a01ce Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Thu, 8 Nov 2018 23:05:06 -0800 Subject: [PATCH] spacemacs --- Emacs.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Emacs.md b/Emacs.md index d8f66ac..d06a13d 100644 --- a/Emacs.md +++ b/Emacs.md @@ -12,6 +12,8 @@ https://melpa.org/#/ccls ### Configure +spacemacs: set `c-c++-backend` to `lsp-ccls` in the `+lang/c-c++` layer + The only required configuration is `ccls-executable`. Others have good defaults. `xref-find-definitions` (default: `M-.`) / highlighting of the symbol at point / type signature in echo area should work out-of-box. Read on for customization and more features. @@ -37,7 +39,6 @@ exec ~/ccls/Release/ccls --log-file=/tmp/ccls.log "$@" Some common settings to lsp-mode lsp-ui and emacs-ccls: -* spacemacs `+tools/lsp` and https://github.com/syl20bnr/spacemacs/pull/11242 * doom-emacs https://github.com/hlissner/doom-emacs/pull/716 * MaskRay's doom-emacs configuration: