1
0
mirror of https://github.com/ellmau/nixos.git synced 2025-12-19 09:29:36 +01:00

further updates to the emacs config

This commit is contained in:
Stefan Ellmauthaler 2023-05-08 15:38:09 +02:00
parent a76e72214f
commit 4ed287f7aa
Failed to extract signature

View File

@ -393,6 +393,7 @@
(lsp-diagnostics-flycheck-enable)
(push 'rustic-clippy flycheck-checkers)
;; (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