More tree-sitter querries for C++ #16767
VacheDesNeiges
started this conversation in
Language Support
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
C++ highlighting via tree-sitter is poorly supported at the moment and can be vastly improved by writing a few more queries.
We can take a look at neovim's tree-sitter queries for guidance.
I've added two screenshot of the same C++ code, using zed and neovim, only highlighting with tree-sitter and the same theme(catppuccin mocha) to showcase the difference.
Zed's tree-sitter highlighting :

Neovim's tree-sitter higlighting :

Beta Was this translation helpful? Give feedback.
All reactions