From 5d9aeab9f798b9be0d27e938847c3d696af478b9 Mon Sep 17 00:00:00 2001 From: Cheer Xiao Date: Mon, 28 Oct 2013 10:12:56 +0800 Subject: [PATCH] Highlight []{} too. --- edit/attr.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/edit/attr.go b/edit/attr.go index cc9a79c8..f58760ea 100644 --- a/edit/attr.go +++ b/edit/attr.go @@ -13,4 +13,8 @@ var attrForType = map[parse.ItemType]string{ parse.ItemError: "31", parse.ItemLParen: "34;1", parse.ItemRParen: "34;1", + parse.ItemLBracket: "34;1", + parse.ItemRBracket: "34;1", + parse.ItemLBrace: "34;1", + parse.ItemRBrace: "34;1", }