Closed dhruvmanila closed 3 years ago
Yeah, they should also be bold.
Plus, TSField
and TSProperty
also seem to be function name, I'm not very sure, maybe some debug is needed.
You don't need to manually set them to be bold or italic, just linking them to predefined hi groups like GreenBold
should work, these hi groups are already controlled by the configuration options.
Plus,
TSField
andTSProperty
also seem to be function name, I'm not very sure, maybe some debug is needed.
From tree-sitter help:
TSField
For fields.
TSProperty
Same asTSField
.You don't need to manually set them to be bold or italic, just linking them to predefined hi groups like
GreenBold
should work, these hi groups are already controlled by the configuration options.
Ah, yes completely missed that.
Thanks! I'm going to merge it.
I don't exactly know what
TSFuncMacro
orTSFuncBuiltin
are, but should they be bold as well?Also, should I update the code to do
bold
/italic
highlights only ifenable_bold
/enable_italic
is true, just like everywhere else?