Filetype highlights with Nightly #86
olimorris
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As discussed over on #79, the rules for defining highlights have changed. This is really interesting for how filetype highlights are applied.
Currently, for my
ruby
setup, I have the following:however that could now be replaced by:
What's fantastic is that this is wayyyyy faster than the current implementation and it works in any plugin that uses Treesitter for highlights such as Telescope.
I think when Neovim 0.8 is released, I will consider deprecating the functionality and adding in optional opinionated Filetype Highlights as per the Roadmap.
Be interesting to see if anyone else has played with the new functionality.
Beta Was this translation helpful? Give feedback.
All reactions