add js mode

This commit is contained in:
Stefan Schwarz 2019-09-10 13:55:43 +02:00
parent 11882d3bf8
commit 68d2b4ae8e

View file

@ -107,6 +107,9 @@
;; langs ;; langs
;; ;;
;; js
(use-package js2-mode :ensure t
:config (add-to-list 'auto-mode-alist '("\\.js\\'" . js2-mode)))
;; golang ;; golang
(use-package go-mode :ensure t (use-package go-mode :ensure t
:config (add-to-list 'auto-mode-alist '("\\.go\\'" . go-mode))) :config (add-to-list 'auto-mode-alist '("\\.go\\'" . go-mode)))