summaryrefslogtreecommitdiffstats
path: root/genvim.txr
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2014-07-20 08:59:17 -0700
committerKaz Kylheku <kaz@kylheku.com>2014-07-20 08:59:17 -0700
commite4caf8527d35df820c602b4e75a810f43082e39e (patch)
tree0b0c0de3b2f2bda570fcd5f87e027caa92884225 /genvim.txr
parent8fe8e46c6dce8292f2c12660d0c383e521f9233a (diff)
downloadtxr-e4caf8527d35df820c602b4e75a810f43082e39e.tar.gz
txr-e4caf8527d35df820c602b4e75a810f43082e39e.tar.bz2
txr-e4caf8527d35df820c602b4e75a810f43082e39e.zip
* genvim.txr: Fixed highlighting issues in numbers followed by newline.
* txr.vim: Regenerated.
Diffstat (limited to 'genvim.txr')
-rw-r--r--genvim.txr6
1 files changed, 3 insertions, 3 deletions
diff --git a/genvim.txr b/genvim.txr
index a1dde710..a2b79c49 100644
--- a/genvim.txr
+++ b/genvim.txr
@@ -96,10 +96,10 @@ syn match txr_ident "[:@@][A-Za-z0-9!#$%&*+\-<=>?\\^_~]\+" contained
syn match txr_ident "[A-Za-z0-9!$%&*+\-<=>?\\_~]*[A-Za-z!$#%&*+\-<=>?\\^_~][A-Za-z0-9!$#%&*+\-<=>?\\^_~]*" contained
syn match txl_ident "[:@@][A-Za-z0-9!$%&*+\-<=>?\\\^_~/]\+" contained
syn match txl_ident "[A-Za-z0-9!$%&*+\-<=>?\\_~/]*[A-Za-z!$#%&*+\-<=>?\\^_~/][A-Za-z0-9!$#%&*+\-<=>?\\^_~/]*" contained
-syn match txr_num "[+\-]\?[0-9]\+[^A-Za-z0-9!$#%&*+\-<=>?\\^_~/]"me=e-1 contained
+syn match txr_num "[+\-]\?[0-9]\+\([^A-Za-z0-9!$#%&*+\-<=>?\\^_~/]\|\n\)"me=e-1 contained
syn match txr_badnum "[+\-]\?[0-9]*[.][0-9]\+\([eE][+\-]\?[0-9]\+\)\?[A-Za-z!$#%&*+\-<=>?\\^_~/]\+" contained
-syn match txr_num "[+\-]\?[0-9]*[.][0-9]\+\([eE][+\-]\?[0-9]\+\)\?[^A-Za-z0-9!$#%&*+\-<=>?\\^_~/]"me=e-1 contained
-syn match txr_num "[+\-]\?[0-9]\+\([eE][+\-]\?[0-9]\+\)[^A-Za-z0-9!$#%&*+\-<=>?\\^_~/]"me=e-1 contained
+syn match txr_num "[+\-]\?[0-9]*[.][0-9]\+\([eE][+\-]\?[0-9]\+\)\?\([^A-Za-z0-9!$#%&*+\-<=>?\\^_~/]\|\n\)"me=e-1 contained
+syn match txr_num "[+\-]\?[0-9]\+\([eE][+\-]\?[0-9]\+\)\([^A-Za-z0-9!$#%&*+\-<=>?\\^_~/]\|\n\)"me=e-1 contained
syn match txl_ident ":" contained
syn match txr_unquote "," contained