mirror of
https://github.com/neovim/neovim.git
synced 2025-12-06 14:42:35 +00:00
This formatting (although rare) is actually accepted by GHC, but vim
does not highlight it. This patch adds the simplest possible regex to
support the behavior.
Inconveniently, this might trigger weird formatting on lines that
contain errors, e.g. if the first backtick is removed from:
a `b` c `d` e
then `c` is going to be marked as an operator, which seems weird but is
valid.
closes: vim/vim#18776
ddb88ab796
Co-authored-by: Mirek Kratochvil <exa.exa@gmail.com>