diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2016-05-04 21:17:50 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2016-05-04 21:17:50 -0700 |
commit | e66e1ad43be464b0d42c1700b51a28605881dd33 (patch) | |
tree | 1b342690b7b9ba378cb1c2c3f1774cfdfdabcf8b /txr.vim | |
parent | 2a7f0136df10e5a6d10988b6040267e771ee5df6 (diff) | |
download | txr-e66e1ad43be464b0d42c1700b51a28605881dd33.tar.gz txr-e66e1ad43be464b0d42c1700b51a28605881dd33.tar.bz2 txr-e66e1ad43be464b0d42c1700b51a28605881dd33.zip |
Fix Vim syntax highlighting bugs.
* genvim.txr (txr_splicevar): This match must be contained.
(txr_metanum): Must be contained in TXR, need not be contained
in TXR Lisp.
* txr.vim, tl.vim: Regenerated.
Diffstat (limited to 'txr.vim')
-rw-r--r-- | txr.vim | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -367,8 +367,8 @@ syn match txr_regdir "\(@[ \t]*\)/\(\\/\|[^/]\|\\\n\)*/" syn match txr_hashbang "^#!.*" syn match txr_nested_error "[^\t ]\+" contained syn match txr_variable "\(@[ \t]*\)[*]\?[ \t]*[A-Za-z_][A-Za-z_0-9]*" -syn match txr_splicevar "@[ \t,*@]*[A-Za-z_][A-Za-z_0-9]*" -syn match txr_metanum "@\+[0-9]\+" +syn match txr_splicevar "@[ \t,*@]*[A-Za-z_][A-Za-z_0-9]*" contained +syn match txr_metanum "@\+[0-9]\+" contained syn match txr_badesc "\\." contained syn match txr_escat "\\@" contained syn match txr_stresc "\\[abtnvfre\\ \n"`']" contained |