commit bd78f98818cdea0811cb8ba700009c75b8ee159d parent 55624754c01631b0505c1620cc7a3b728e0bf28e Author: Ed van Bruggen <edvb@uw.edu> Date: Sat, 22 Jun 2019 17:20:15 -0700 Improve number highlighting Diffstat:
syntax/tisp.vim | | | 6 | +++--- |
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/syntax/tisp.vim b/syntax/tisp.vim @@ -62,9 +62,9 @@ syn keyword tispNote '\CNOTE\ze:\?' contained syn match tispDelimiter '\<\.\>' -syn keyword tispNumber e pi tau -syn match tispNumber "[+-]\=\(\.\d\+\|\d\+\(\.\d*\)\=\)\([eE/][-+]\=\d\+\)\=" -syn match tispError ![-#+0-9.][-#+/0-9a-f@i.boxesfdl]*[^-#+/0-9a-f@i.boxesfdl \t\[\]()";][^ \t\[\]()";]*! +syn keyword tispNumber nil e pi tau +syn match tispNumber "[+-]\=\(\.\d\+\|\d\+\(\.\d*\)\=\)\([eE][-+]\=\d\+\)\=" +syn match tispNumber "[+-]\=\(\d\+/\d\+\)" syn match tispSymbol ,\k+, contained