summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2016-01-19 06:55:54 -0800
committerKaz Kylheku <kaz@kylheku.com>2016-01-19 06:55:54 -0800
commit991e9f106e8bd4c6263f46a877db4565ebfbfa54 (patch)
tree7edbd19af6568abc49f92a877f22746762154cc0
parentbe1c58c7e496b9a3b3add7e6a967f6f4360df1c7 (diff)
downloadtxr-991e9f106e8bd4c6263f46a877db4565ebfbfa54.tar.gz
txr-991e9f106e8bd4c6263f46a877db4565ebfbfa54.tar.bz2
txr-991e9f106e8bd4c6263f46a877db4565ebfbfa54.zip
Add missing txr words to syntax highlighting.
* genvim.txr: Add missing single, first, last and other output repeat modifiers. Removing rep, since it's scraped from the table registration in match.c.
-rw-r--r--genvim.txr3
1 files changed, 2 insertions, 1 deletions
diff --git a/genvim.txr b/genvim.txr
index d4b9c049..39d89fbd 100644
--- a/genvim.txr
+++ b/genvim.txr
@@ -29,10 +29,11 @@ static void dir_tables_init(void)
("usr" "")
(t `@{pkg-name}:`))))
(list `@qualif@(symbol-name sym)`))))
-@(do (set [txr-sym 0..0] '("rep" "end" "and" "or"
+@(do (set [txr-sym 0..0] '("end" "and" "or"
"catch" "finally"
"until" "last"
"if" "else" "elif"
+ "single" "first" "last" "empty" "mod" "modlast"
"include")))
@(set txr-sym @(sort (uniq txr-sym)))
@(set (txl-sym txl-orig-sym) @(multi-sort (list txl-sym txl-orig-sym)