Emacs: Add lsp related packages to the list, electric-pair for odin
This commit is contained in:
parent
fc0e258887
commit
ceb2bb0d3c
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user