rose-pine / neovim

Soho vibes for Neovim
MIT License
2.25k stars 144 forks source link

feat: prioritise semantic variable highlighting #240

Closed mvllow closed 7 months ago

mvllow commented 7 months ago

This commit prioritises semantic variables over treesitter—useful in cases such as Svelte strings with variables:

<Card title="Welcome back, {username}" />

Previously {username} would have been highlighted as a string. Now, it is highlighted as a variable.