feat(emacs): Add some LSP functionality to Emacs

This feature requires for LSP servers to be already installed, and the
PATH variable to point to where the executables reside.
This commit is contained in:
Dionisio E Alonso 2024-02-03 20:30:16 -03:00
parent 13920d3841
commit e5a65b3ea9
1 changed files with 1 additions and 0 deletions

View File

@ -13,6 +13,7 @@
:width 'normal)
(add-hook 'prog-mode-hook #'display-line-numbers-mode)
(add-hook 'prog-mode-hook 'eglot-ensure) ; Requires LSP servers in PATH
(when window-system (set-frame-size (selected-frame) 85 60))
; After dealing with some nice defaults setup packages