Skip to content

Commit 75fcd09

Browse files
committed
must actually return a number
1 parent fd98935 commit 75fcd09

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
@@ -345,7 +345,7 @@ function GetJavascriptIndent()
345345

346346
" to not change multiline string values
347347
if (synIDattr(synID(v:lnum, 1, 1), 'name') =~? 'string' || s:IsInTempl(v:lnum, 1)) && line !~ '^\s*[''"`]'
348-
return
348+
return indent(v:lnum)
349349
endif
350350

351351
" If we are in a multi-line comment, cindent does the right thing.

0 commit comments

Comments
 (0)