From b57b9b16893dc1dd197c51881cdec3ccb742d442 Mon Sep 17 00:00:00 2001 From: Erwin Boskma Date: Sat, 4 Mar 2023 17:07:41 +0100 Subject: [PATCH] Enable js2-mode for .mjs files --- home-manager/modules/emacs/config.org | 1 + 1 file changed, 1 insertion(+) diff --git a/home-manager/modules/emacs/config.org b/home-manager/modules/emacs/config.org index 5726826..26c17bb 100644 --- a/home-manager/modules/emacs/config.org +++ b/home-manager/modules/emacs/config.org @@ -1012,6 +1012,7 @@ Indent 2 spaces #+begin_src emacs-lisp (use-package js2-mode :mode + ("\\.mjs\\'" . js2-mode) ("\\.jsx?\\'" . js2-jsx-mode) :hook (js2-mode . lsp-deferred)