summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2011-12-10 20:44:21 -0800
committerKaz Kylheku <kaz@kylheku.com>2011-12-10 20:44:21 -0800
commit99c6face9bd7cd86c22293201ab0645bb613f6d4 (patch)
tree4a5253121ea7488acf8246df5899a2619b27a368
parent858859cf6fd6becef038cf4d9c1e650c3f2a9cc6 (diff)
downloadtxr-99c6face9bd7cd86c22293201ab0645bb613f6d4.tar.gz
txr-99c6face9bd7cd86c22293201ab0645bb613f6d4.tar.bz2
txr-99c6face9bd7cd86c22293201ab0645bb613f6d4.zip
* txr.vim (txr_atat): New match. The @@ sequence is recognized
properly and highlighted.
-rw-r--r--ChangeLog5
-rw-r--r--txr.vim2
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 51b26334..a0755175 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2011-12-10 Kaz Kylheku <kaz@kylheku.com>
+ * txr.vim (txr_atat): New match. The @@ sequence is recognized
+ properly and highlighted.
+
+2011-12-10 Kaz Kylheku <kaz@kylheku.com>
+
Bignum support in mult function.
* arith.c: Regenerated.
diff --git a/txr.vim b/txr.vim
index be69d370..59f1380c 100644
--- a/txr.vim
+++ b/txr.vim
@@ -65,6 +65,7 @@ syn keyword txl_keyword contained list-vector assoc assq acons acons-new
syn keyword txl_keyword contained aconsq-new alist-remove alist-nremove copy-cons
syn keyword txl_keyword contained copy-alist merge sort find set-diff length
+syn match txr_atat "@[ \t]*@"
syn match txr_comment "@[ \t]*#.*"
syn match txr_contin "@[ \t]*\\$"
syn match txr_hashbang "^#!.*"
@@ -91,6 +92,7 @@ syn region txr_quasilit contained oneline start=+`+ skip=+\\\\\|\\`+ end=+`+ con
syn region txr_regex contained oneline start=+/+ skip=+\\\\\|\\/+ end=+/+
syn region txr_regdir oneline start=+@[ \t]*/+ skip=+\\\\\|\\/+ end=+/+
+hi def link txr_atat String
hi def link txr_comment Comment
hi def link txr_hashbang Comment
hi def link txr_contin Comment