From a327b831a90f6f2bd4c9e544e176612037c7836e Mon Sep 17 00:00:00 2001 From: finga Date: Fri, 7 Feb 2025 07:28:07 +0100 Subject: [PATCH] c: Use lsp-mode when c-mode is enabled --- .emacs.d/config/c.el | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.emacs.d/config/c.el b/.emacs.d/config/c.el index f013035..1373b7b 100644 --- a/.emacs.d/config/c.el +++ b/.emacs.d/config/c.el @@ -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))