Allow configuration of syntax highlighting limits for large files (e.g., XML) #33117
vpoguru
started this conversation in
Config, Settings and Keymaps
Replies: 1 comment
-
|
+1 |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
Feature Request: Enable or configure syntax highlighting for large files
Summary
Currently, Zed completely disables syntax highlighting for large files — such as long XML documents — likely for performance reasons. This is understandable, but for some workflows, it's important to have syntax highlighting even on large files.
It would be great to have a user-configurable option to allow syntax highlighting for large files, giving users the choice to trade performance for functionality when needed.
Use Case
When working with large XML files (e.g., 2,000+ lines), Zed does not apply any syntax highlighting — the entire file renders as plain text. This makes it difficult to read or navigate structured files that rely heavily on tags or nesting for context.
For users working with verbose formats like XML, JSON, or large HTML documents, syntax highlighting is crucial for editing accuracy and efficiency.
Proposed Solution
Introduce a setting such as:
Beta Was this translation helpful? Give feedback.
All reactions