diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2012-01-25 15:30:00 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2012-01-25 15:30:00 -0800 |
commit | 31f335160a38e1a3f5202e93a5ac28f32ad3c27d (patch) | |
tree | 3285ebdfcdc6ec1f5d1c985830eb2de11ff23891 | |
parent | 11173ced6d65339869fe74fbc9c4452a75e3fe26 (diff) | |
download | txr-31f335160a38e1a3f5202e93a5ac28f32ad3c27d.tar.gz txr-31f335160a38e1a3f5202e93a5ac28f32ad3c27d.tar.bz2 txr-31f335160a38e1a3f5202e93a5ac28f32ad3c27d.zip |
* txr.vim (txr_chr): Fix for highlighting named characters
like #\newline.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | txr.vim | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,5 +1,10 @@ 2012-01-25 Kaz Kylheku <kaz@kylheku.com> + * txr.vim (txr_chr): Fix for highlighting named characters + like #\newline. + +2012-01-25 Kaz Kylheku <kaz@kylheku.com> + * eval.c (dwim_s): New symbol variable. (dwim_loc, op_dwim): New static functions. (op_modplace): Support assignment to dwim forms @@ -95,7 +95,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_chr "#\\[^ \t\na-zA-Z_]" syn match txr_ncomment ";.*" contained syn match txr_ident "[a-zA-Z0-9!$%&*+\-<=>?\\^_~]\+" contained |