Fix unityjs/shaderlab-mode

This commit is contained in:
Henrik Lissner 2015-07-17 12:07:49 +02:00
parent 1c7a886c0c
commit fa13c9591f
2 changed files with 4 additions and 5 deletions

View file

@ -34,10 +34,10 @@
(add-company-backend! js2-mode (tern))))
(use-package unityjs-mode
:mode "/Assets/*.js$"
:mode "/Assets/.*\\.js$"
:config
(add-hook! unityjs-mode 'flycheck-mode)
(add-hook! unityjs-mode
(flycheck-mode 1)
(narf|enable-tab-width-2)
(setq js-indent-level 2)))