Browse Source

Update auto-mode-alist

master
10sr 2 years ago
parent
commit
8918e30e86
Signed by: 10sr GPG Key ID: 7BEC428194130EB2
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      emacs.el

+ 2
- 0
emacs.el View File

@@ -2046,6 +2046,8 @@ ORIG-FUNC is the target function, and ARGS is the argument when it is called."
(add-to-list 'c-default-style
'(c++-mode . "k&r")))

(add-to-list 'auto-mode-alist
'("\\.gs\\'" . js-mode))
(with-eval-after-load 'js2-mode
;; currently do not use js2-mode
;; (add-to-list 'auto-mode-alist '("\\.js\\'" . js2-mode))


Loading…
Cancel
Save