summaryrefslogtreecommitdiffstats
path: root/genvim.txr
diff options
context:
space:
mode:
Diffstat (limited to 'genvim.txr')
-rw-r--r--genvim.txr2
1 files changed, 1 insertions, 1 deletions
diff --git a/genvim.txr b/genvim.txr
index 98d496d5..78df98cf 100644
--- a/genvim.txr
+++ b/genvim.txr
@@ -33,6 +33,7 @@ void eval_init(void)
(let* ((hash (hash :equal-based)))
(mapcar (op sethash hash @1 @1) list)
[sort (hash-values hash) string-lt])))
+@(do (set [txr-sym 0..0] '("rep" "end" "and" "or")))
@(set (txr-sym txl-sym) (@(sortuniq txr-sym) @(sortuniq txl-sym)))
@(output)
" VIM Syntax file for txr
@@ -56,7 +57,6 @@ syn spell toplevel
setlocal iskeyword=a-z,A-Z,48-57,!,$,&,*,+,-,<,=,>,?,\\,_,~,^
@(rep) @{txr-sym}@(mod 0 4)@\nsyn keyword txr_keyword contained @{txr-sym}@(end)
-syn keyword txr_keyword contained end and or
@(rep) @{txl-sym}@(mod 0 4)@\nsyn keyword txl_keyword contained @{txl-sym}@(end)
syn match txr_error "@@[\t ]*[*]\?[\t ]*."