chr4 / nginx.vim

Improved nginx vim plugin (incl. syntax highlighting)
450 stars 41 forks source link

Remove explicit Normal link for ngxBlock #17

Closed pappasam closed 3 years ago

pappasam commented 3 years ago

ngxBlocks are grouping mechanisms, they can rely on the default background provided by other tools. This resolves syntax highlighting discrepancies when using things like floating windows (where the background color might highlight with NormalFloat in Neovim, for example).

Before

nginx-normal-before

After

nginx-after

chr4 commented 3 years ago

Hey, thanks for spotting and the contribution! It's very welcome.