summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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