summaryrefslogtreecommitdiffstats
path: root/emacs
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2024-09-01 21:44:06 -0400
committerDavid Robillard <d@drobilla.net>2024-09-01 21:44:06 -0400
commitfa60f82126d250257068db3bb36bafcba0769ace (patch)
treed6306e75f368673876a054ccef3050f1bb60d7f1 /emacs
parentd71de7d2e0d406420fc96258c51cc1c813ca9e48 (diff)
downloaddotfiles-fa60f82126d250257068db3bb36bafcba0769ace.tar.gz
dotfiles-fa60f82126d250257068db3bb36bafcba0769ace.tar.bz2
dotfiles-fa60f82126d250257068db3bb36bafcba0769ace.zip
Add mjs and mts file associations
Diffstat (limited to 'emacs')
-rw-r--r--emacs/.emacs.d/init.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el
index 243473b..bb64142 100644
--- a/emacs/.emacs.d/init.el
+++ b/emacs/.emacs.d/init.el
@@ -589,6 +589,8 @@
(add-to-list 'auto-mode-alist '("\\.tese\\'" . glsl-mode))
(add-to-list 'auto-mode-alist '("\\.m\\'" . objc-mode))
(add-to-list 'auto-mode-alist '("\\.mm\\'" . objc-mode))
+(add-to-list 'auto-mode-alist '("\\.mjs\\'" . javascript-mode))
+(add-to-list 'auto-mode-alist '("\\.mts\\'" . typescript-mode))
(add-to-list 'auto-mode-alist '("\\.ipp\\'" . c++-mode))
(add-to-list 'auto-mode-alist '("\\.clang-format\\'" . yaml-mode))
(add-to-list 'auto-mode-alist '("\\.clang-tidy\\'" . yaml-mode))