From 997be878f270bc90de704a120e505c3a3aba852a Mon Sep 17 00:00:00 2001 From: d6 Date: Wed, 22 Dec 2021 22:01:33 -0500 Subject: [PATCH] fix token matching for tal mode --HG-- branch : pmacs2 --- mode/tal.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mode/tal.py b/mode/tal.py index 213ec68..5d9f8b2 100644 --- a/mode/tal.py +++ b/mode/tal.py @@ -218,6 +218,10 @@ class Tal(Fundamental): 'tal.pad': hi_orange, 'tal.spacer': hi_orange, } + opentokens = ('delimiter',) + opentags = {'(': ')', '[': ']', '{': '}'} + closetokens = ('delimiter',) + closetags = {')': '(', ']': '[', '}': '{'} _bindings = { 'taldoc': ('C-c p',), 'close-paren': (')',),