From 4ed287f7aab1b6fbd60e0822f6940bc5f29e6014 Mon Sep 17 00:00:00 2001 From: Stefan Ellmauthaler Date: Mon, 8 May 2023 15:38:09 +0200 Subject: [PATCH] further updates to the emacs config --- modules/emacs/default.el | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/modules/emacs/default.el b/modules/emacs/default.el index 997ba06..0220fac 100644 --- a/modules/emacs/default.el +++ b/modules/emacs/default.el @@ -392,7 +392,8 @@ ;; (add-to-list 'flycheck-checkers 'rustic-clippy) (lsp-diagnostics-flycheck-enable) (push 'rustic-clippy flycheck-checkers) -;; (flycheck-add-next-checker 'lsp 'rustic-clippy) + ;; (flycheck-add-next-checker 'lsp 'rustic-clippy) + :mode ("\\.rs\\'" . rustic-mode) :custom ; (rustic-format-trigger 'on-save) (rustic-flycheck-clippy-params "--message-format=json") @@ -403,8 +404,9 @@ (lsp-rust-analyzer-proc-macro-enable t) (lsp-rust-analyzer-experimental-proc-attr-macros t) :hook - (rustic-mode . company-mode) + ;;(rustic-mode . company-mode) (rustic . lsp-rust-analyzer-inlay-hints-mode) + (rustic . apheleia-mode) ;;(rustic-mode . flymake-mode) ) @@ -536,7 +538,7 @@ python-mode ;; ess-mode ;; ruby-mode - rust-mode + rustic-mode sql-mode rustic typescript-mode