mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Add unityjs support
This commit is contained in:
320
elisp/unityjs-mode.el
Executable file
320
elisp/unityjs-mode.el
Executable file
File diff suppressed because one or more lines are too long
@ -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
|
||||
|
Reference in New Issue
Block a user