Skip to content

Commit 88b0680

Browse files
authored
cleaning
1 parent 672c379 commit 88b0680

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

indent/javascript.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ function s:iscontOne(i,num,cont)
100100
\ . s:skip_expr . '|| !s:IsBlock()',100,l:num) > 0
101101
return 0
102102
endif
103-
let bL += 1
103+
let bL += s:W
104104
let [l:cont, l:i] = [0, line('.')]
105105
elseif !l:cont
106106
break
@@ -111,7 +111,7 @@ function s:iscontOne(i,num,cont)
111111
endif
112112
let l:i = s:PrevCodeLine(l:i - 1)
113113
endwhile
114-
return bL * s:W
114+
return bL
115115
endfunction
116116

117117
" https://github.com/sweet-js/sweet.js/wiki/design#give-lookbehind-to-the-reader

0 commit comments

Comments
 (0)