Skip to content

Commit d55813b

Browse files
authored
ws start, again
1 parent 3d59c74 commit d55813b

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
@@ -233,7 +233,7 @@ function GetJavascriptIndent()
233233
" the containing paren, bracket, curly. Memoize, last lineNr either has the
234234
" same scope or starts a new one, unless if it closed a scope.
235235
call cursor(v:lnum,1)
236-
if getline(l:lnum) !~ '^\S'
236+
if indent(l:lnum)
237237
let [s:looksyn,s:free] = [v:lnum - 1,1]
238238
if b:js_cache[0] >= l:lnum && b:js_cache[0] < v:lnum &&
239239
\ (b:js_cache[0] > l:lnum || s:Balanced(l:lnum))

0 commit comments

Comments
 (0)