tree-sitter / tree-sitter-c

C grammar for tree-sitter
MIT License
237 stars 106 forks source link

Highlight different with builtin types. #90

Closed jackhub closed 1 year ago

jackhub commented 2 years ago

I would like to highlight builtin types differently from user defined types. Like int type here:

image

But tree-sitter-c will highlight to a Normal type.

image

PS: std::vector is highlight by lsp semantic token.

jrwrigh commented 2 years ago

This is the wrong tree sitter for C++. You want: https://github.com/tree-sitter/tree-sitter-cpp