adjust evil-shift-width the same as coffee-tab-width in coffee mode
This commit is contained in:
parent
e1cc9bf708
commit
0d685e4a8f
|
@ -1895,5 +1895,6 @@ determine the state to enable when escaping from the insert state.")
|
|||
(coffee-insert-spaces (coffee-previous-indent)))
|
||||
)
|
||||
;; indent to right position after `evil-open-blow' and `evil-open-above'
|
||||
(add-hook 'coffee-mode-hook '(lambda () (setq indent-line-function 'spacemacs/coffee-indent)))
|
||||
)))
|
||||
(add-hook 'coffee-mode-hook '(lambda ()
|
||||
(setq indent-line-function 'spacemacs/coffee-indent
|
||||
evil-shift-width coffee-tab-width))))))
|
||||
|
|
Loading…
Reference in a new issue