Add unityjs support

This commit is contained in:
Henrik Lissner 2015-03-31 15:24:23 -04:00
parent e337823b44
commit 378b903566
2 changed files with 328 additions and 0 deletions

320
elisp/unityjs-mode.el Executable file

File diff suppressed because one or more lines are too long

View file

@ -47,6 +47,14 @@
:mode (("\\.json$" . json-mode)
("\\.jshintrc$" . json-mode)))
;; For UnityScript
(use-package unityjs-mode
:mode "/Assets/*.js$"
:config
(add-hook! 'unityjs-mode-hook
(enable-tab-width-2)
(setq js-indent-level 2))
(provide 'init-js)
;;; init-js.el ends here