Skip to content

Commit 4b435eb

Browse files
authored
small fix
1 parent ead360d commit 4b435eb

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
@@ -211,7 +211,7 @@ function GetJavascriptIndent()
211211
if indent(l:lnum)
212212
let [s:looksyn,s:free] = [v:lnum - 1,1]
213213
if b:js_cache[0] >= l:lnum && b:js_cache[0] < v:lnum &&
214-
\ (b:js_cache[0] > l:lnum || idx < 0 && s:Balanced(l:lnum))
214+
\ (b:js_cache[0] > l:lnum || s:Balanced(l:lnum))
215215
call call('cursor',b:js_cache[1:])
216216
elseif idx + 1
217217
call s:GetPair(['\[','(','{'][idx], '])}'[idx],'bW','s:skip_func(s:looksyn)',2000)

0 commit comments

Comments
 (0)