vim-polyglot icon indicating copy to clipboard operation
vim-polyglot copied to clipboard

Consider adding vim-yaml

Open ctranstrum opened this issue 4 years ago • 0 comments

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).

ctranstrum avatar Dec 17 '21 18:12 ctranstrum