summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoe <bousset.rudy@gmail.com>2022-06-27 14:18:58 +0200
committerJoe <bousset.rudy@gmail.com>2022-06-27 14:18:58 +0200
commitf644d87aefe5b653ee2d1f8c13ee3fb59df5fdaf (patch)
tree8c5da4d9c87aa84a4674070c58441d2f740b8b36
parentUpdate (diff)
downloaddotfiles-bsd-f644d87aefe5b653ee2d1f8c13ee3fb59df5fdaf.tar.gz
dotfiles-bsd-f644d87aefe5b653ee2d1f8c13ee3fb59df5fdaf.tar.bz2
dotfiles-bsd-f644d87aefe5b653ee2d1f8c13ee3fb59df5fdaf.tar.xz
dotfiles-bsd-f644d87aefe5b653ee2d1f8c13ee3fb59df5fdaf.tar.zst
dotfiles-bsd-f644d87aefe5b653ee2d1f8c13ee3fb59df5fdaf.zip
clangd
-rw-r--r--.config/emacs/org/config.org3
1 files changed, 3 insertions, 0 deletions
diff --git a/.config/emacs/org/config.org b/.config/emacs/org/config.org
index c008a33..43135ec 100644
--- a/.config/emacs/org/config.org
+++ b/.config/emacs/org/config.org
@@ -654,6 +654,9 @@ then it takes a second \\[keyboard-quit] to abort the minibuffer."
(add-hook 'company-mode-hook 'company-box-mode)
(require 'lsp-clangd)
+ (setq lsp-clangd-executable "/usr/local/llvm13/bin/clangd")
+ (add-hook 'c-mode-hook 'lsp-clangd-c-enable)
+ (add-hook 'c++-mode-hook 'lsp-clangd-c++-enable)
;; (setq ccls-executable "ccls")