summaryrefslogtreecommitdiffstats
path: root/genvim.txr
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2013-10-23 17:57:42 -0700
committerKaz Kylheku <kaz@kylheku.com>2013-10-23 17:57:42 -0700
commitb7f9a8f2e02872fea86827b034278c399fb052dc (patch)
treec2b3cf00f2020d37216d78461af1ba7d45079cc9 /genvim.txr
parentc597ba1a700f42bb2a366cf7badcf680e7cbb314 (diff)
downloadtxr-b7f9a8f2e02872fea86827b034278c399fb052dc.tar.gz
txr-b7f9a8f2e02872fea86827b034278c399fb052dc.tar.bz2
txr-b7f9a8f2e02872fea86827b034278c399fb052dc.zip
* genvim.txr: Split long lines of keywords.
* txr.vim: Updated.
Diffstat (limited to 'genvim.txr')
-rw-r--r--genvim.txr5
1 files changed, 2 insertions, 3 deletions
diff --git a/genvim.txr b/genvim.txr
index 246050ba..cbc96da8 100644
--- a/genvim.txr
+++ b/genvim.txr
@@ -51,9 +51,8 @@ syn case match
syn spell toplevel
setlocal iskeyword=a-z,A-Z,48-57,!,$,&,*,+,-,<,=,>,?,\\,_,~,^
-
-syn keyword txr_keyword contained@(rep) @{txr-sym}@(end)
-syn keyword txl_keyword contained@(rep) @{txl-sym}@(end)
+@(rep) @{txr-sym}@(mod 0 4)@\nsyn keyword txr_keyword contained @{txr-sym}@(end)
+@(rep) @{txl-sym}@(mod 0 4)@\nsyn keyword txl_keyword contained @{txl-sym}@(end)
syn match txr_error "@@[\t ]*[*]\?[\t ]*."
syn match txr_nested_error "[^\t `]\+" contained