Skip to content

Commit e895bd1

Browse files
authored
fix syn-indent issue
1 parent 9a6c485 commit e895bd1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

indent/javascript.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ function GetJavascriptIndent()
193193
\ (getline(lnum) =~ g:javascript_continuation && getline(lnum) !~ s:expr_case) ||
194194
\ (s:Onescope(lnum) && line !~ s:line_pre . '{')) &&
195195
\ (num != lnum &&
196-
\ synIDattr(synID(v:lnum, 1, 1), 'name') !~? 'jsfunccall\|jsdestructuringblock\|args\|jsbracket\|jsparen\|jsobject')
196+
\ synIDattr(synID(v:lnum, 1, 1), 'name') !~? 'jsdestructuringblock\|args\|jsbracket\|jsparen\|jsobject')
197197
return (num > 0 ? indent(num) : -s:sw()) + (s:sw() * 2) + switch_offset
198198
elseif num > 0
199199
return indent(num) + s:sw() + switch_offset

0 commit comments

Comments
 (0)