summaryrefslogtreecommitdiffstats
path: root/txr.vim
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2016-05-04 21:17:50 -0700
committerKaz Kylheku <kaz@kylheku.com>2016-05-04 21:17:50 -0700
commite66e1ad43be464b0d42c1700b51a28605881dd33 (patch)
tree1b342690b7b9ba378cb1c2c3f1774cfdfdabcf8b /txr.vim
parent2a7f0136df10e5a6d10988b6040267e771ee5df6 (diff)
downloadtxr-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.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/txr.vim b/txr.vim
index 00d2ac86..bd842879 100644
--- a/txr.vim
+++ b/txr.vim
@@ -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