Fix unityjs/shaderlab-mode
This commit is contained in:
parent
1c7a886c0c
commit
fa13c9591f
2 changed files with 4 additions and 5 deletions
5
Cask
5
Cask
|
@ -152,7 +152,6 @@
|
|||
;; (depends-on "rust-mode")
|
||||
;; (depends-on "d-mode")
|
||||
|
||||
|
||||
;; OTHER
|
||||
;;(depends-on "shaderlab-mode" :git "https://bitbucket.org/bbbscarter/emacs-shaderlab-mode")
|
||||
;;(depends-on "unityjs-mode" :git "https://github.com/naruse/EmacsUnityScript")
|
||||
(depends-on "shaderlab-mode" :git "https://bitbucket.org/bbbscarter/emacs-shaderlab-mode")
|
||||
(depends-on "unityjs-mode" :git "https://github.com/naruse/EmacsUnityScript")
|
||||
|
|
|
@ -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)))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue