From f644d87aefe5b653ee2d1f8c13ee3fb59df5fdaf Mon Sep 17 00:00:00 2001 From: Joe Date: Mon, 27 Jun 2022 14:18:58 +0200 Subject: clangd --- .config/emacs/org/config.org | 3 +++ 1 file changed, 3 insertions(+) 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") -- cgit v1.2.3