Emacs: Add lsp related packages to the list, electric-pair for odin

This commit is contained in:
Joseph Ferano 2024-10-08 09:27:34 +07:00
parent fc0e258887
commit ceb2bb0d3c

View File

@ -202,6 +202,10 @@ Finish up
orderless orderless
consult consult
consult-eglot consult-eglot
consult-lsp
lsp-mode
lsp-ui
flycheck
all-the-icons-completion all-the-icons-completion
helpful helpful
vterm 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 :multi-root t))) ;; Ensures lsp-mode sends "workspaceFolders" to the server
(add-hook 'odin-mode-hook #'lsp) (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 #+end_src
*** C *** C