Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Treesitter removed TS* highlight groups #16

Closed
bmulholland opened this issue Oct 18, 2022 · 2 comments
Closed

Treesitter removed TS* highlight groups #16

bmulholland opened this issue Oct 18, 2022 · 2 comments

Comments

@bmulholland
Copy link
Contributor

See nvim-treesitter/nvim-treesitter@42ab95d

I took a quick look at https://github.com/Shatur/neovim-ayu/blob/master/lua/ayu/init.lua and there doesn't seem to be a good place to add the new hl calls. I can make the change if you let me know how to approach it. Perhaps a new function for the treesitter highlights? Also, my read of it is that it only affects these four groups -- is that right? https://github.com/Shatur/neovim-ayu/blob/master/lua/ayu/init.lua#L117

@bmulholland
Copy link
Contributor Author

Here's how the other color scheme I use solved it: sainnhe/sonokai@d422f09

@Shatur
Copy link
Owner

Shatur commented Oct 18, 2022

Thanks for letting me know!
Looks like we just need to replace these 4 groups:

neovim-ayu/lua/ayu/init.lua

Lines 117 to 121 in bae6314

-- TreeSitter.
TSProperty = { fg = colors.tag },
TSField = { fg = colors.tag },
TSParameter = { fg = colors.fg },
TSUnderline = { sp = colors.tag, underline = true },

With the new @* highlights.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants