Open jemag opened 1 year ago
This took me a while to figure out why my lua highlighting was now broken. Following https://github.com/neovim/neovim/issues/14090#issuecomment-1240357210, the added lua query causes lua highlight to break.
Currently
((identifier) @variable.builtin (#match? @variable.builtin "self"))
Does not extend the other queries, that is why it is breaking. Although you could extend like so:
;; extends ((identifier) @variable.builtin (#match? @variable.builtin "self"))
I think I would agree with with nvim-treesitter maintainer Clason comment that it is probably not worth it for a colorscheme to be adding these queries:
@jemag a PR with the fixes & I'll merge it
This took me a while to figure out why my lua highlighting was now broken. Following https://github.com/neovim/neovim/issues/14090#issuecomment-1240357210, the added lua query causes lua highlight to break.
Currently
Does not extend the other queries, that is why it is breaking. Although you could extend like so:
I think I would agree with with nvim-treesitter maintainer Clason comment that it is probably not worth it for a colorscheme to be adding these queries:![image](https://user-images.githubusercontent.com/7985687/190172072-cac618a2-eecb-4cb1-8c6b-5f04714f66af.png)