-
-
Notifications
You must be signed in to change notification settings - Fork 9k
Empty string literal is not highlighted with correct colors JSON Rust #54838
Copy link
Copy link
Labels
area:languages/rustRust programming language supportRust programming language supportarea:tree-sitterSyntax highlighting and tree-sitterSyntax highlighting and tree-sitterfrequency:uncommonBugs that happen for a small subset of users, special configurations, rare circumstances, etcBugs that happen for a small subset of users, special configurations, rare circumstances, etcpriority:P3Papercuts, minor issues with a clear workaround, cosmetic bugsPapercuts, minor issues with a clear workaround, cosmetic bugsstate:reproducibleVerified steps to reproduce included and someone on the team managed to reproduceVerified steps to reproduce included and someone on the team managed to reproduce
Metadata
Metadata
Assignees
Labels
area:languages/rustRust programming language supportRust programming language supportarea:tree-sitterSyntax highlighting and tree-sitterSyntax highlighting and tree-sitterfrequency:uncommonBugs that happen for a small subset of users, special configurations, rare circumstances, etcBugs that happen for a small subset of users, special configurations, rare circumstances, etcpriority:P3Papercuts, minor issues with a clear workaround, cosmetic bugsPapercuts, minor issues with a clear workaround, cosmetic bugsstate:reproducibleVerified steps to reproduce included and someone on the team managed to reproduceVerified steps to reproduce included and someone on the team managed to reproduce
Type
Fields
Give feedbackNo fields configured for Bug.
Reproduction steps
Current vs. Expected behavior
Current behavior: Empty string values (e.g. "") and the rest after are highlighted differently
Expected behavior: highlighted properly
Zed version and system specs
Both stable and preview tested
Zed: v0.233.8+stable (Zed)
OS: Linux Wayland endeavouros unknown
Memory: 7.4 GiB
Architecture: x86_64
GPU: Intel(R) Iris(R) Xe Graphics (TGL GT2) || Intel open-source Mesa driver || Mesa 26.0.5-arch1.1
Zed: v0.233.3+preview.233.3ae52299d4af96a6a2caf663d02516fc469a15cb (Zed Preview)
OS: Linux Wayland endeavouros unknown
Memory: 7.4 GiB
Architecture: x86_64
GPU: Intel(R) Iris(R) Xe Graphics (TGL GT2) || Intel open-source Mesa driver || Mesa 26.0.5-arch1.1
Attach Zed log file
Zed.log
Relevant Zed settings
settings.json
Relevant Keymap
keymap.json
(for AI issues) Model provider details
No response
If you are using WSL on Windows, what flavor of Linux are you using?
No response