c: Use lsp-mode when c-mode is enabled

This commit is contained in:
finga 2025-02-07 07:28:07 +01:00
parent db164f0444
commit a327b831a9

View file

@ -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))