Compare commits

..

3 Commits

Author SHA1 Message Date
coolneng 64df13a8a1
Tweak the modeline so it fits the screen 2022-12-01 09:42:24 +01:00
coolneng e537bd9969
Reduce size of the popup terminal 2022-11-30 17:02:07 +01:00
coolneng e5785374f2
Migrate to eglot 2022-11-30 16:50:39 +01:00
1 changed files with 7 additions and 1 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