Rust support

This commit is contained in:
Zelong Kuang
2025-12-14 23:47:18 +11:00
parent 1ecf55c317
commit 3659d681ad
2 changed files with 11 additions and 0 deletions

10
lisp/init-rust.el Normal file
View File

@@ -0,0 +1,10 @@
;; Rust -*- lexical-binding: t; -*-
(use-package rust-mode
:functions centaur-treesit-available-p
:init (setq rust-format-on-save t
rust-mode-treesitter-derive (centaur-treesit-available-p)))
(use-package ron-mode
:mode ("\\.ron" . ron-mode))
(provide 'init-rust)