Skip to content

Commit d23050e

Browse files
authored
return redundancies
1 parent 817215b commit d23050e

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
@@ -177,7 +177,7 @@ function s:Balanced(lnum)
177177
if synIDattr(synID(a:lnum,pos + 1,0),'name') !~? s:syng_strcom
178178
let l:open += match(' ' . l:line[pos],'[[({]')
179179
if l:open < 0
180-
return 0
180+
return
181181
endif
182182
endif
183183
let pos = match(l:line, '[][(){}]', pos + 1)
@@ -206,7 +206,7 @@ function GetJavascriptIndent()
206206
endif
207207
let l:lnum = s:PrevCodeLine(v:lnum - 1)
208208
if !l:lnum
209-
return 0
209+
return
210210
endif
211211

212212
let l:line = substitute(substitute(l:line,'^\s*\%(\/\*.\{-}\*\/\s*\)*','',''),'^\/[/*].*','','')

0 commit comments

Comments
 (0)