This commit is contained in:
Adam Stankiewicz 2017-03-24 16:08:42 +01:00
parent 79fce146dd
commit 64938393bd
No known key found for this signature in database
GPG Key ID: A62480DCEAC884DF

View File

@ -217,7 +217,7 @@ function s:Balanced(lnum)
endif
endif
let pos = match(l:line, (l:open ?
\ '['.escape(tr(l:line[pos],'({[]})',')}][{(').l:line[pos],']').']' :
\ '['.matchstr(['][','()','{}'],l:line[pos]).']' :
\ '[][(){}]'), pos + 1)
endwhile
return !l:open