From 64938393bd49f459a3c64b8342c714caa836e6b3 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Fri, 24 Mar 2017 16:08:42 +0100 Subject: [PATCH] Update --- indent/javascript.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indent/javascript.vim b/indent/javascript.vim index 2237b4b..7029ed2 100644 --- a/indent/javascript.vim +++ b/indent/javascript.vim @@ -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