From 629e93b861e62dd6a80adde34221f61e938f1b5d Mon Sep 17 00:00:00 2001 From: Zero King Date: Sat, 12 Feb 2022 03:00:12 +0000 Subject: [PATCH] tweak(cc): default to +lsp Without +lsp, both irony-mode and rtags require extra configuration for system header path on macOS. With +lsp, clangd works well out of the box, and it's easier to configure than two separate daemons. Ref: https://github.com/Sarcasm/irony-mode/wiki/Mac-OS-X-issues-and-workaround Ref: Andersbakken/rtags#811 --- init.example.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.example.el b/init.example.el index 3ec0b24ba..67715f2ea 100644 --- a/init.example.el +++ b/init.example.el @@ -113,7 +113,7 @@ :lang ;;agda ; types of types of types of types... ;;beancount ; mind the GAAP - ;;cc ; C > C++ == 1 + ;;(cc +lsp) ; C > C++ == 1 ;;clojure ; java with a lisp ;;common-lisp ; if you've seen one lisp, you've seen them all ;;coq ; proofs-as-programs