diff options
author | Alan Pearce | 2024-06-05 14:29:38 +0200 |
---|---|---|
committer | Alan Pearce | 2024-06-05 14:29:38 +0200 |
commit | 3845bbbaa16959445fc59038c03d54a6498c73f9 (patch) | |
tree | f6aee1433517dcc7c05ccbe128c3ecc7d5e0e77d /user | |
parent | 7ef7b58c58d6108428ed0c7d85cb151b28e969c4 (diff) | |
download | nixfiles-3845bbbaa16959445fc59038c03d54a6498c73f9.tar.lz nixfiles-3845bbbaa16959445fc59038c03d54a6498c73f9.tar.zst nixfiles-3845bbbaa16959445fc59038c03d54a6498c73f9.zip |
Emacs: set cjs/mjs as alternative javascript file extensions
Diffstat (limited to 'user')
-rw-r--r-- | user/emacs/init.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el index 701f79f0..a37a75a8 100644 --- a/user/emacs/init.el +++ b/user/emacs/init.el @@ -798,6 +798,7 @@ _C-k_: prev _u_pper _=_: upper/lower _s_mart resolve ;;;; js (setq js-enabled-frameworks '(javascript)) +(add-to-list 'auto-mode-alist '("\\.[cm]js\\'" . js-ts-mode)) ;;;; typescript |