瀏覽代碼

Update auto-mode-alist

master
10sr 3 年之前
父節點
當前提交
8918e30e86
簽署人: 10sr GPG Key ID: 7BEC428194130EB2
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. +2
    -0
      emacs.el

+ 2
- 0
emacs.el 查看文件

@@ -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…
取消
儲存