diff options
Diffstat (limited to '.config/emacs')
-rw-r--r-- | .config/emacs/config.org | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.config/emacs/config.org b/.config/emacs/config.org index f2bb1f6..03692c0 100644 --- a/.config/emacs/config.org +++ b/.config/emacs/config.org @@ -1022,8 +1022,8 @@ file with a certain file extension. (require 'rust-ts-mode) (require 'yaml-ts-mode) - (cl-dolist (pair `((,(rx ".rs" eos) . rust-ts-mode) - (,(rx (or ".yml" ".yaml")) . yaml-ts-mode))) + (cl-dolist (pair '(("\\.rs\\'" . rust-ts-mode) + ("\\.ya?ml\\'" . yaml-ts-mode))) (add-to-list 'auto-mode-alist pair)) #+END_SRC |