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:
parent
a76e72214f
commit
4ed287f7aa
@ -393,6 +393,7 @@
|
|||||||
(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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user