Fix doom/newline-and-indent for rjsx-mode
This commit is contained in:
parent
c472b2360e
commit
a5437a3860
1 changed files with 2 additions and 2 deletions
|
@ -155,8 +155,8 @@ from a commented line."
|
|||
(cond ((sp-point-in-string)
|
||||
(newline))
|
||||
((sp-point-in-comment)
|
||||
(cond ((eq major-mode 'js2-mode)
|
||||
(js2-line-break))
|
||||
(cond ((memq major-mode '(js2-mode rjsx-mode))
|
||||
(call-interactively 'js2-line-break))
|
||||
((memq major-mode '(java-mode php-mode))
|
||||
(c-indent-new-comment-line))
|
||||
((memq major-mode '(c-mode c++-mode objc-mode css-mode scss-mode js2-mode))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue