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 support #32

Open
ilAYAli opened this issue Nov 16, 2020 · 2 comments
Open

treesitter support #32

ilAYAli opened this issue Nov 16, 2020 · 2 comments

Comments

@ilAYAli
Copy link

ilAYAli commented Nov 16, 2020

Nice theme.
It would be even better with Treesitter support.

Treesitter defines the following highlight groups (the color definitions are from Onedark).

hi! TSError        ctermfg=203 guifg=#f44747
hi! TSPunctDelimiter ctermfg=249 guifg=#abb2bf
hi! TSPunctBracket ctermfg=249 guifg=#abb2bf
hi! TSPunctSpecial ctermfg=249 guifg=#abb2bf
hi! TSConstant     ctermfg=75 guifg=#61afef
hi! TSConstBuiltin ctermfg=173 guifg=#d19a66
hi! TSConstMacro   ctermfg=73 guifg=#56b6c2
hi! TSStringRegex  ctermfg=114 guifg=#98c379
hi! TSString       ctermfg=114 guifg=#98c379
hi! TSStringEscape ctermfg=73 guifg=#56b6c2
hi! TSCharacter    ctermfg=114 guifg=#98c379
hi! TSNumber       ctermfg=173 guifg=#d19a66
hi! TSBoolean      ctermfg=173 guifg=#d19a66
hi! TSFloat        ctermfg=114 guifg=#98c379
hi! TSAnnotation   ctermfg=180 guifg=#e5c07b
hi! TSAttribute    ctermfg=73 guifg=#56b6c2
hi! TSNamespace    ctermfg=201 guifg=#ff00ff
hi! TSFuncBuiltin  ctermfg=75 guifg=#61afef
hi! TSFunction     ctermfg=75 guifg=#61afef
hi! TSFuncMacro    ctermfg=180 guifg=#e5c07b
hi! TSParameter    ctermfg=73 guifg=#56b6c2
hi! TSParameterReference ctermfg=73 guifg=#56b6c2
hi! TSMethod       ctermfg=75 guifg=#61afef
hi! TSField        ctermfg=168 guifg=#e06c75
hi! TSProperty     ctermfg=180 guifg=#e5c07b
hi! TSConstructor  ctermfg=73 guifg=#56b6c2
hi! TSConditional  ctermfg=175 guifg=#c586c0
hi! TSRepeat       ctermfg=175 guifg=#c586c0
hi! TSLabel        ctermfg=75 guifg=#61afef
hi! TSKeyword      ctermfg=175 guifg=#c586c0
hi! TSKeywordFunction ctermfg=175 guifg=#c586c0
hi! TSKeywordOperator ctermfg=175 guifg=#c586c0
hi! TSOperator     ctermfg=249 guifg=#abb2bf
hi! TSException    ctermfg=175 guifg=#c586c0
hi! TSType         ctermfg=75 guifg=#61afef
hi! TSTypeBuiltin  ctermfg=75 guifg=#61afef
hi! TSStructure    ctermfg=201 guifg=#ff00ff
hi! TSInclude      ctermfg=175 guifg=#c586c0
hi! TSVariable     ctermfg=73 guifg=#56b6c2
hi! TSVariableBuiltin ctermfg=180 guifg=#e5c07b
hi! TSText         ctermfg=226 guifg=#ffff00
hi! TSStrong       ctermfg=226 guifg=#ffff00
hi! TSEmphasis     ctermfg=226 guifg=#ffff00
hi! TSUnderline    ctermfg=226 guifg=#ffff00
hi! TSTitle        ctermfg=226 guifg=#ffff00
hi! TSLiteral      ctermfg=226 guifg=#ffff00
hi! TSURI          ctermfg=226 guifg=#ffff00
hi! TSTag          ctermfg=168 guifg=#e06c75
hi! TSTagDelimiter ctermfg=241 guifg=#5c6370
@Cybolic
Copy link

Cybolic commented May 27, 2021

I've added Treesitter support in my fork: https://github.com/Cybolic/palenight.vim/blob/master/colors/palenight.vim#L643
As far as possible, it tries to follow the colours set in the "Syntax Groups" and "JavaScript" blocks. These seem to differ from other languages here and there though, so I'm not sure it's the absolute best selection of colours.

@alexmozaidze
Copy link

#39 is now merged with the main branch

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

3 participants