zed icon indicating copy to clipboard operation
zed copied to clipboard

C++ syntax highlighting weirdness

Open jansol opened this issue 1 year ago • 0 comments

Check for existing issues

  • [X] Completed

Describe the bug / provide steps to reproduce it

Example: https://github.com/ProjectPhysX/FluidX3D/blob/d55be40ffcc62321b111dfa79c707638d9ccd8bd/src/lbm.hpp#L22

Gets highlighted as: image

NB: the syntax tree debug view shows that those variables are classified differently for some reason so this is likely an upstream tree-sitter issue.

Environment

Zed: v1.0.0 (Zed Dev c2428f9f5da75dbb26e31945ecd7adb3a9b82c06) OS: Linux 1.0.0 Memory: 31 GiB Architecture: x86_64

If applicable, add mockups / screenshots to help explain present your vision of the feature

No response

If applicable, attach your ~/Library/Logs/Zed/Zed.log file to this issue.

No response

jansol avatar Apr 18 '24 12:04 jansol