tree-sitter-grammars/tree-sitter-lua

Highlighting lua5.4 <const> and <close> does not work and buga the rest highlighted

Closed this issue · 3 comments

Without '<const>'
image
With '<const>'
image
What do you have to do to fix this? because I use lua5.4 and I end up using these features
https://lwn.net/Articles/826134/

the highlight in the <const> remains the same as the image, but no longer spoils the rest of the highlight

Hmm... wait, I haven't merged the change yet 🤔

Should be usable with Neovim once nvim-treesitter/nvim-treesitter#3747 gets merged.