My personal emacs configuration

rustic: Configure to use eglot as the LSP client

+5 -2
+5 -2
init.el
··· 128 (setq lsp-eldoc-hook nil) 129 (setq lsp-enable-symbol-highlighting nil) 130 (setq lsp-signature-auto-activate nil) 131 - (setq rustic-format-on-save t) 132 - (add-hook 'rustic-mode-hook 'rk/rustic-mode-hook)) 133 (defun rk/rustic-mode-hook () 134 (when buffer-file-name 135 (setq-local buffer-save-without-query t)))
··· 128 (setq lsp-eldoc-hook nil) 129 (setq lsp-enable-symbol-highlighting nil) 130 (setq lsp-signature-auto-activate nil) 131 + (add-hook 'rustic-mode-hook 'rk/rustic-mode-hook) 132 + :custom 133 + (rustic-format-on-save t) 134 + (rustic-lsp-client 'eglot) 135 + (rustic-enable-detached-file-support t)) 136 (defun rk/rustic-mode-hook () 137 (when buffer-file-name 138 (setq-local buffer-save-without-query t)))