Skip to content

Commit 579997a

Browse files
authored
isBlock cleaning
1 parent 67b9f3d commit 579997a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

indent/javascript.vim

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,9 +142,8 @@ function s:IsBlock()
142142
else
143143
return stridx('-=~!<*+,/?^%|&([',char) < 0
144144
endif
145-
else
146-
return 1
147145
endif
146+
return 1
148147
endfunction
149148

150149
" Find line above 'lnum' that isn't empty, in a comment, or in a string.

0 commit comments

Comments
 (0)