Skip to content

Commit c180b0c

Browse files
committed
little bug affecting previous few commits
another tiny commit, this is just fix which for a small bug that slipped past me
1 parent 77387ef commit c180b0c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

indent/javascript.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ function s:IndentWithContinuation(lnum, ind, width)
291291
else
292292
return msl_ind
293293
end
294-
elseif s:InMultiVarStatement(p_lnum, 0,v:lnum)
294+
elseif s:InMultiVarStatement(p_lnum, 0, s:PrevNonBlankNonString(p_lnum - 1))
295295
return indent(p_lnum) - s:sw()
296296
endif
297297

0 commit comments

Comments
 (0)