Compare commits
3 Commits
82ef744f1b
...
64df13a8a1
Author | SHA1 | Date |
---|---|---|
coolneng | 64df13a8a1 | |
coolneng | e537bd9969 | |
coolneng | e5785374f2 |
|
@ -64,7 +64,13 @@
|
||||||
;; Associate polymode to R markdown files
|
;; Associate polymode to R markdown files
|
||||||
(add-to-list 'auto-mode-alist '("\\.[rR]md\\'" . poly-markdown+R-mode))
|
(add-to-list 'auto-mode-alist '("\\.[rR]md\\'" . poly-markdown+R-mode))
|
||||||
;; Set clangd as C/C++ LSP
|
;; 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>)
|
;; Use relative line numbers (Usage: number <j/k>)
|
||||||
(setq display-line-numbers-type 'relative)
|
(setq display-line-numbers-type 'relative)
|
||||||
;; Use pass as auth-source
|
;; Use pass as auth-source
|
||||||
|
|
Loading…
Reference in New Issue