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

@ -392,7 +392,8 @@
;; (add-to-list 'flycheck-checkers 'rustic-clippy) ;; (add-to-list 'flycheck-checkers 'rustic-clippy)
(lsp-diagnostics-flycheck-enable) (lsp-diagnostics-flycheck-enable)
(push 'rustic-clippy flycheck-checkers) (push 'rustic-clippy flycheck-checkers)
;; (flycheck-add-next-checker 'lsp 'rustic-clippy) ;; (flycheck-add-next-checker 'lsp 'rustic-clippy)
:mode ("\\.rs\\'" . rustic-mode)
:custom :custom
; (rustic-format-trigger 'on-save) ; (rustic-format-trigger 'on-save)
(rustic-flycheck-clippy-params "--message-format=json") (rustic-flycheck-clippy-params "--message-format=json")
@ -403,8 +404,9 @@
(lsp-rust-analyzer-proc-macro-enable t) (lsp-rust-analyzer-proc-macro-enable t)
(lsp-rust-analyzer-experimental-proc-attr-macros t) (lsp-rust-analyzer-experimental-proc-attr-macros t)
:hook :hook
(rustic-mode . company-mode) ;;(rustic-mode . company-mode)
(rustic . lsp-rust-analyzer-inlay-hints-mode) (rustic . lsp-rust-analyzer-inlay-hints-mode)
(rustic . apheleia-mode)
;;(rustic-mode . flymake-mode) ;;(rustic-mode . flymake-mode)
) )
@ -536,7 +538,7 @@
python-mode python-mode
;; ess-mode ;; ess-mode
;; ruby-mode ;; ruby-mode
rust-mode rustic-mode
sql-mode sql-mode
rustic rustic
typescript-mode typescript-mode