mirror of
https://github.com/vim/vim.git
synced 2026-11-03 19:11:57 +01:00
This is a combination of the following changes:
Problem: PyYAML timestamp matching scans positions that cannot begin a
timestamp.
Solution: Check for a leading digit before timestamp boundary matching.
Problem: The PyYAML integer and floats pattern repeats the optional
sign in each alternative.
Solution: Match the optional sign once before the alternatives.
closes: #21521
Signed-off-by: Julien Voisin <julien.voisin@dustri.org>
Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2 lines
29 B
VimL
2 lines
29 B
VimL
let g:yaml_schema = 'pyyaml'
|