summaryrefslogtreecommitdiff
path: root/init.el
diff options
context:
space:
mode:
Diffstat (limited to 'init.el')
-rw-r--r--init.el15
1 files changed, 15 insertions, 0 deletions
diff --git a/init.el b/init.el
index ccba9dc..aeb700d 100644
--- a/init.el
+++ b/init.el
@@ -406,6 +406,21 @@ no effect."
'auto-mode-alist
(cons "\\.rs$" #'rustic-mode))))
+;;; Rust Music Mode (rumu)
+
+(load-after-function rumu-mode "rumu.el"
+ "Load Rust music configurations" nil
+ (rumu-mode))
+
+(cond
+ ((assoc "\\.rumu$" auto-mode-alist #'string=)
+ (setcdr
+ (assoc "\\.rumu$" auto-mode-alist #'string=)
+ #'rumu-mode))
+ ((add-to-list
+ 'auto-mode-alist
+ (cons "\\.rumu$" #'rumu-mode))))
+
;;; Cat and mouse
(cond ((display-mouse-p) (mouse-avoidance-mode 'none)))