Mofiqul / dracula.nvim

Dracula colorscheme for neovim written in Lua
MIT License
594 stars 103 forks source link

Fix ruby highlighting (Treesitter) #77

Closed Drowze closed 1 year ago

Drowze commented 1 year ago

Since nvim-treesitter/nvim-treesitter#4382 (released on v0.9), TS uses @keyword.function (instead of the previously used @keyword) for the ruby def keyword.

This PR aims to fix the ruby highlighting.

Before this PR, along with latest TS master branch: image

After this PR, along with latest TS master branch: image

Mofiqul commented 1 year ago

@Drowze - This will affect the other language. I think you should do @keyword.function.ruby to target the highlight

Drowze commented 1 year ago

Thanks for the suggestion @Mofiqul that worked great! Tested with latest v0.9 release.

Updated the PR 😃