Revert "Migrate to eglot"

This reverts commit 193dce0fa5.
This commit is contained in:
2022-12-18 01:04:16 +01:00
parent 24a3c71c13
commit 72f1079538
3 changed files with 17 additions and 6 deletions

View File

@@ -64,7 +64,13 @@
;; Associate polymode to R markdown files
(add-to-list 'auto-mode-alist '("\\.[rR]md\\'" . poly-markdown+R-mode))
;; Set clangd as C/C++ LSP
(set-eglot-client! 'cc-mode '("clangd" "-j=3" "--clang-tidy"))
(setq lsp-clients-clangd-args '("-j=3"
"--background-index"
"--clang-tidy"
"--completion-style=detailed"
"--header-insertion=never"
"--header-insertion-decorators=0"))
(after! lsp-clangd (set-lsp-priority! 'clangd 2))
;; Use relative line numbers (Usage: number <j/k>)
(setq display-line-numbers-type 'relative)
;; Use pass as auth-source