Closed cpmsmith closed 1 year ago
This un-reverts #69 without causing #70 again, by using has('nvim-0.8') to ensure the new highlight groups will be supported before setting them.
has('nvim-0.8')
I've checked Vim 8.2 to confirm this no longer throws errors, and Neovim 0.8.1 to confirm it uses the new highlight groups.
Note: I've set it up to only set the new or old highlight groups depending on Nvim version, which is a slight change.
Awesome, thank you!
This un-reverts #69 without causing #70 again, by using
has('nvim-0.8')
to ensure the new highlight groups will be supported before setting them.I've checked Vim 8.2 to confirm this no longer throws errors, and Neovim 0.8.1 to confirm it uses the new highlight groups.
Note: I've set it up to only set the new or old highlight groups depending on Nvim version, which is a slight change.