diff --git a/.emacs.d/include/priime-lsp.el b/.emacs.d/include/priime-lsp.el index 9a4454e..7bbf06b 100644 --- a/.emacs.d/include/priime-lsp.el +++ b/.emacs.d/include/priime-lsp.el @@ -7,12 +7,14 @@ :custom (eglot-events-buffer-config '(:size 0 :format full)) :custom-face (eglot-inlay-hint-face ((t (:height 1.0)))) - :hook ((racket-mode rust-mode irony-mode) . eglot-ensure) + :hook ((racket-mode rust-mode irony-mode tuareg-mode python-mode tsx-ts-mode nix-mode) . eglot-ensure) :bind (:map eglot-mode-map ("C-c l r" . eglot-rename) ("C-c l a" . eglot-code-actions) ("C-c l f" . eglot-format)) - :init (fset #'jsonrpc--log-event #'ignore)) + :init + (fset #'jsonrpc--log-event #'ignore) + (add-to-list 'eglot-server-programs '(nix-mode "nil"))) (use-package eglot-booster :straight (eglot-booster :type git :host github :repo "jdtsmith/eglot-booster") :after (eglot)