Mercurial > vim
view runtime/syntax/testdir/dumps/vim_expr_03.dump @ 34531:0591aba1489d
runtime(vim): Update base-syntax, improve number matching (#14175)
Commit: https://github.com/vim/vim/commit/5cd86c6cff94256ed2db872c46b57da259a648ac
Author: dkearns <dougkearns@gmail.com>
Date: Tue Mar 12 07:40:58 2024 +1100
runtime(vim): Update base-syntax, improve number matching (https://github.com/vim/vim/issues/14175)
- Limit blob literals to an even number of hexadecimal digits and
correctly located dots.
- Match octal numbers.
The current version unsuccessfully attempts to match a leading '-' as
part of the float literal. It's actually parsed as part of the literal
for all numbers but the syntax file hasn't matched it like that for a
long time and highlights negative numbers as UNARY-MINUS NUMBER. This
will be fixed when better expression matching is implemented.
Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Mon, 11 Mar 2024 21:45:06 +0100 |
parents | 95f54d96baba |
children | af61243e5aeb |
line wrap: on
line source
|e+0#af5f00255#ffffff0|c|h|o| +0#0000000&|-+0#af5f00255&|0+0#e000002&|o|3|7@1| +0#0000000&@63 |e+0#af5f00255&|c|h|o| +0#0000000&|-+0#af5f00255&|0+0#e000002&|O|3|7@1| +0#0000000&@63 @75 |"+0#0000e05&| |B|i|n|a|r|y| +0#0000000&@66 |e+0#af5f00255&|c|h|o| +0#0000000&@1|0+0#e000002&|b|1@7| +0#0000000&@58 >e+0#af5f00255&|c|h|o| +0#0000000&@1|0+0#e000002&|B|1@7| +0#0000000&@58 |e+0#af5f00255&|c|h|o| +0#0000000&|-+0#af5f00255&|0+0#e000002&|b|1@7| +0#0000000&@58 |e+0#af5f00255&|c|h|o| +0#0000000&|-+0#af5f00255&|0+0#e000002&|B|1@7| +0#0000000&@58 @75 |"+0#0000e05&| |F|l|o|a|t| +0#0000000&@67 |1+0#e000002&|2|3|.|4|5|6| +0#0000000&@67 |++0#af5f00255&|0+0#e000002&|.|0@2|1| +0#0000000&@67 |5+0#e000002&@1|.|0| +0#0000000&@70 |-+0#af5f00255&|0+0#e000002&|.|1|2|3| +0#0000000&@68 |1+0#e000002&|.|2|3|4|e|0|3| +0#0000000&@66 |1+0#e000002&|.|0|E|-|6| +0#0000000&@68 |-+0#af5f00255&|3+0#e000002&|.|1|4|1|6|e|+|8@1| +0#0000000&@63 @75 |"+0#0000e05&| |B|l|o|b| +0#0000000&@68 @57|5@1|,|1| @9|9|4|%|