summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--txr.vim1
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 933d37f9..88f9f4e1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2011-12-21 Kaz Kylheku <kaz@kylheku.com>
+ * txr.vim: Fixed to char literal syntax.
+
+2011-12-21 Kaz Kylheku <kaz@kylheku.com>
+
* arith.c (normalize): Linkage changed to extern.
* arith.h (normalize): Declared.
diff --git a/txr.vim b/txr.vim
index 680d6376..2dde4106 100644
--- a/txr.vim
+++ b/txr.vim
@@ -77,6 +77,7 @@ syn match txr_char "@[ \t]*\\[0-9]\+"
syn match txr_variable "@[ \t]*[*]\?[A-Za-z_][A-Za-z0-9_]*"
syn match txr_chr "#\\x[A-Fa-f0-9]\+"
syn match txr_chr "#\\[a-zA-Z_][a-zA-Z0-9_]*"
+syn match txr_chr "#\\[^ \t\n]"
syn match txr_ncomment ";.*" contained
syn match txr_ident "[a-zA-Z0-9!$%&*+\-<=>?\\^_~]\+" contained