You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm working on an extension to add Haml syntax highlighting (https://github.com/davidcornu/zed-haml). Given that Haml templates can embed Ruby, I've configured languages/haml/injections.scm to treat the appropriate regions as Ruby. However, this only works if you have the Ruby extension installed.
I would like to have a way to express this somewhere in the extension (perhaps in extension.toml) so that Zed could prompt users if they don't have the Ruby extension installed.
Check for existing issues
Misc notes
Use case
I'm working on an extension to add Haml syntax highlighting (https://github.com/davidcornu/zed-haml). Given that Haml templates can embed Ruby, I've configured
languages/haml/injections.scm
to treat the appropriate regions as Ruby. However, this only works if you have the Ruby extension installed.I would like to have a way to express this somewhere in the extension (perhaps in
extension.toml
) so that Zed could prompt users if they don't have the Ruby extension installed.Prior art
VSCode extensions can set
extensionPack
orextensionDependencies
as part of their manifest (https://code.visualstudio.com/api/references/extension-manifest) for this exact purpose.The text was updated successfully, but these errors were encountered: