Closed Drowze closed 1 year ago
@Drowze - This will affect the other language. I think you should do @keyword.function.ruby
to target the highlight
Thanks for the suggestion @Mofiqul that worked great! Tested with latest v0.9 release.
Updated the PR 😃
Since nvim-treesitter/nvim-treesitter#4382 (released on v0.9), TS uses
@keyword.function
(instead of the previously used@keyword
) for the rubydef
keyword.This PR aims to fix the ruby highlighting.
Before this PR, along with latest TS master branch:
After this PR, along with latest TS master branch: