Use rustic-mode for rust org src blocks
This commit is contained in:
parent
fa2b9d8afe
commit
7e9fa0f21b
1 changed files with 3 additions and 1 deletions
|
@ -10,7 +10,9 @@
|
|||
(use-package! rustic
|
||||
:mode ("\\.rs$" . rustic-mode)
|
||||
:commands rustic-run-cargo-command rustic-cargo-outdated
|
||||
:hook (rustic-mode . rainbow-delimiters-mode)
|
||||
:init
|
||||
(after! org-src
|
||||
(add-to-list 'org-src-lang-modes '("rust" . rustic)))
|
||||
:config
|
||||
(set-docsets! 'rustic-mode "Rust")
|
||||
(set-popup-rule! "^\\*rustic-compilation" :vslot -1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue