Skip to content

Commit b4038a2

Browse files
authored
addresses unindented code
1 parent 6c440b3 commit b4038a2

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
@@ -176,7 +176,7 @@ function GetJavascriptIndent()
176176
let num = 0
177177
end
178178
else
179-
let num = 0
179+
let num = s:lookForParens('(\|{\|\[',')\|}\|\]','nbW',2000)
180180
end
181181
end
182182
let b:js_cache = [v:lnum, num]

0 commit comments

Comments
 (0)