diff options
| author | Miquel Sabaté Solà <mssola@mssola.com> | 2025-09-16 22:16:12 +0200 |
|---|---|---|
| committer | Miquel Sabaté Solà <mssola@mssola.com> | 2025-09-16 22:16:12 +0200 |
| commit | 650b3277c8cf4fbf47bdfdb18d613eb14c9e5297 (patch) | |
| tree | 728ebad4b84a745d7cf91cd20462b2ed569c8dbc | |
| parent | b53726748d48096e74acfa48d5ccb8da7252e46d (diff) | |
| download | dotfiles-650b3277c8cf4fbf47bdfdb18d613eb14c9e5297.tar.gz dotfiles-650b3277c8cf4fbf47bdfdb18d613eb14c9e5297.zip | |
emacs: Add LSP mode for C/C++
Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
| -rw-r--r-- | .config/emacs/init.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/.config/emacs/init.el b/.config/emacs/init.el index 6518a70..c256a4e 100644 --- a/.config/emacs/init.el +++ b/.config/emacs/init.el @@ -540,7 +540,10 @@ (setq lsp-enable-folding nil lsp-enable-text-document-color nil lsp-enable-on-type-formatting nil - lsp-headerline-breadcrumb-enable nil)) + lsp-headerline-breadcrumb-enable nil) + + ;; And just with that C/C++ seem to work :) + :hook ((c-mode c++-mode) . lsp-deferred)) ;; Better LSP integration, configuration taken from Doom. (use-package lsp-ui |
