1
0
Fork 0

fix(emacs): migrate to eglot for java

Signed-off-by: Lucas Sta Maria <lucas@priime.dev>
This commit is contained in:
Lucas Sta Maria 2024-01-18 17:12:23 -05:00
parent 46cf3f4749
commit e68e13829f
No known key found for this signature in database
GPG key ID: F07FB16A826E3B47
2 changed files with 13 additions and 6 deletions

View file

@ -68,6 +68,7 @@
;; LSP
(straight-use-package 'lsp-mode)
(straight-use-package 'lsp-ui)
(straight-use-package 'eglot)
;; Misc
(straight-use-package 'dash)
@ -96,7 +97,7 @@
(straight-use-package 'slime)
(straight-use-package 'haskell-mode)
(straight-use-package 'lsp-haskell)
(straight-use-package 'lsp-java)
(straight-use-package 'eglot-java)
(straight-use-package 'company-coq)
(straight-use-package 'proof-general)
(straight-use-package '(llvm-mode :type git :host github
@ -147,7 +148,7 @@
(add-hook 'go-mode-hook #'lsp)
(add-hook 'tuareg-mode-hook #'lsp)
(add-hook 'haskell-mode-hook #'lsp)
(add-hook 'java-mode-hook #'lsp)
(add-hook 'java-mode-hook #'eglot-java-mode)
(add-hook 'emacs-lisp-mode-hook #'paredit-mode)
(add-hook 'scheme-mode-hook #'paredit-mode)