From 3fa03a7f610c60635a6a5a4e705a2a8594e8075c Mon Sep 17 00:00:00 2001 From: Marcel Kapfer Date: Fri, 23 Feb 2018 09:55:34 +0100 Subject: [PATCH] Emacs: added j2-mode --- emacs/emacs.el | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/emacs/emacs.el b/emacs/emacs.el index 3547c60..2e5c7c3 100644 --- a/emacs/emacs.el +++ b/emacs/emacs.el @@ -665,6 +665,11 @@ web-mode-code-indent-offset 2 web-mode-indent-style 2)) +;; js2-mode +;; Major mode for editing JavaScript files +(use-package js2-mode + :mode (("\\.js\\'" . js2-mode))) + ;; dart-mode ;; Major mode for editing Dart files (use-package dart-mode