c: Use lsp-mode when c-mode is enabled
This commit is contained in:
parent
db164f0444
commit
a327b831a9
1 changed files with 5 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
;; set c style to linux and indention to 2
|
||||
(setq c-default-style "linux"
|
||||
c-basic-offset 2)
|
||||
|
||||
(use-package lsp-mode
|
||||
:ensure t
|
||||
:hook
|
||||
(c-mode . lsp-deferred))
|
||||
|
|
Loading…
Add table
Reference in a new issue