commit 15b6f21d3cb945240a97782e9fd8765d42926069
parent d25281506a95983609808b86ab831c7ff1d00e91
Author: Michael Neuper <michael@michaelneuper.com>
Date: Sat, 11 Apr 2026 18:25:35 +0200
use homebrew clang binary on macos
Diffstat:
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/config.org b/config.org
@@ -1036,6 +1036,11 @@ Configure =cc-mode=.
(c-ts-mode . doxygen))
whitespace-style '(face trailing lines-tail empty))
indent-tabs-mode t)
+(after! eglot
+ (if (featurep :system 'macos)
+ (add-to-list 'eglot-server-programs
+ '((c-mode c++-mode cc-mode c-ts-mode)
+ . ("/opt/homebrew/opt/llvm/bin/clangd" "-j=3" "--clang-tidy")))))
(add-hook! '(c-mode-common-hook c-ts-mode-hook)
(c-setup-doc-comment-style))