HiPhish / rainbow-delimiters.nvim

Rainbow delimiters for Neovim with Tree-sitter
https://gitlab.com/HiPhish/rainbow-delimiters.nvim
Apache License 2.0
533 stars 39 forks source link

[fix] kotlin: second when syntax missing #64

Closed bomgar closed 10 months ago

bomgar commented 10 months ago

Sorry totally forgot the second when syntax.

bomgar commented 10 months ago

I guess both expressions are required

HiPhish commented 10 months ago

I have already fixed it by making the when_subject optional. Your solution assigns the wrong level to the first when (yellow in my screenshot instead of red).

Screenshot_20231119_163940

bomgar commented 10 months ago

Ah. Thank you.