Fallback to html when opening .svg, .vue, etc #6604
smastrom
started this conversation in
Show and tell
Replies: 0 comments 2 replies
-
Having the abillity to configure the settings to map certain file types to known languages would be helpful - Im going to push for this from the team: |
Beta Was this translation helpful? Give feedback.
0 replies
-
Yeah this would be nice. I definitely want to use Zed at my job, but there isn't a convenient way to use Zed currently for Vue. But I could live just html error checking. |
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
-
When opening .svg or .vue files, by default, Zed sets the language (bottom-right) to "Unknown".
I always have to manually select HTML from the language menu in order to get syntax highlighting and especially for .vue files even if not "native", it actually works very well.
I'm pretty sure other extensions which like .vue are just an HTML superset can benefit of a feature that either automatically fallbacks to HTML or allows specifying a supported language to be used for an extension.
Beta Was this translation helpful? Give feedback.
All reactions