From ceb2bb0d3c0d9a234bed2decc4d34c14e86a7698 Mon Sep 17 00:00:00 2001 From: Joseph Ferano Date: Tue, 8 Oct 2024 09:27:34 +0700 Subject: [PATCH] Emacs: Add lsp related packages to the list, electric-pair for odin --- .config/emacs/init.org | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.config/emacs/init.org b/.config/emacs/init.org index 138d4c8..42e41f0 100644 --- a/.config/emacs/init.org +++ b/.config/emacs/init.org @@ -202,6 +202,10 @@ Finish up orderless consult consult-eglot + consult-lsp + lsp-mode + lsp-ui + flycheck all-the-icons-completion helpful vterm @@ -2483,6 +2487,11 @@ And we do the rest here, including a macro :multi-root t))) ;; Ensures lsp-mode sends "workspaceFolders" to the server (add-hook 'odin-mode-hook #'lsp) + +(defun joe/odin-mode-hook () + (electric-pair-local-mode)) +(add-hook 'odin-mode-hook #'joe/odin-mode-hook) + #+end_src *** C