diff options
Diffstat (limited to '')
-rw-r--r-- | emacs.d/modules/module-javascript.el | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/emacs.d/modules/module-javascript.el b/emacs.d/modules/module-javascript.el new file mode 100644 index 0000000..24f04b1 --- /dev/null +++ b/emacs.d/modules/module-javascript.el @@ -0,0 +1,12 @@ +(require 'config-package) + +(use-package graphql-mode) + +(use-package js2-mode + :mode (("\\.js$" . js2-mode)) + :config + (setq-default + js2-mode-indent-ignore-first-tab t + js-indent-level 2)) + +(use-package rjsx-mode) |