nvim-treesitter/playground

Toggled hl groups are set off by one row

filipgodlewski opened this issue · 1 comments

I'm writing a colorscheme, so relying on the highlight groups that TS is using is pretty important to me. Until 2 or 3 weeks ago, everything was working fine, but now when I toggle hl groups with 'i', I see that every single hl group explanation is moved down by 1 row. Please have a look at the screenshot:

obraz

The ft is python, everything is found correctly, but as you can see there's an offset. The first row doesn't contain any hl group, while it should be @include, and the last one -> @number is not even visible here...

The same happens for lua and rust, I didn't test it on other languages.

playground's commit installed: 01c27f3
neovim 0.8.2
system: MacOS Ventura 13.1
terminal: alacritty