Make doom/newline-and-indent aware of js2-mode

This commit is contained in:
Henrik Lissner 2016-07-24 00:14:21 -04:00
parent 4fb0fe909f
commit 86c217d72c

View file

@ -150,7 +150,7 @@ spaces on either side of the point if so. Resorts to
(js2-line-break))
((-contains? '(java-mode php-mode) major-mode)
(c-indent-new-comment-line))
((-contains? '(c-mode c++-mode objc-mode css-mode scss-mode) major-mode)
((-contains? '(c-mode c++-mode objc-mode css-mode scss-mode js2-mode) major-mode)
(newline-and-indent)
(insert "* ")
(indent-according-to-mode))