vim-polyglot
vim-polyglot copied to clipboard
Consider adding vim-yaml
Default yaml syntax highlighting in vim does not properly highlight block scalars. vim-yaml from https://github.com/stephpy/vim-yaml fixes it.
A simple block scalar looks like this:
multi-line block scalar: |
This is a multiline scalar.
It preserves newlines.
Note: this is still part of the scalar.
but: this is not
Interestingly, this appears to be highlighted correctly here on github, but it is not highlighted correctly in default vim (tested using nvim 0.6.0) with vim-polyglot (git pulled today).