OmniSharp / omnisharp-vim

Vim omnicompletion (intellisense) and more for C#
http://www.omnisharp.net
MIT License
1.7k stars 169 forks source link

Excluded code highlighting overlaps region ending preprocessor directive #751

Closed dkearns closed 2 years ago

dkearns commented 2 years ago

In the following, the # in #end is incorrectly highlighted with the OSHighlightExcludedCode property type in Vim.

#if false
The Abyss
#end

This is correctly highlighted in NeoVIm.

omnisharp-vim: b25f07ced47406825768288888211254df0b7e33 vim-cs: https://github.com/nickspoons/vim-cs/commit/779e9804eb5eb82a2991b9d2bef9f32c2a9d01b8 Vim: VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Dec 26 2021 19:33:21) Included patches: 1-3899 NeoVim: v0.7.0-dev+704-gac2d140a3

nickspoons commented 2 years ago

Thanks for the report. I had noticed this and not got around to looking into it. I didn't know it was correct in neovim though, that's interesting.

dkearns commented 2 years ago

Thank you.