-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Svelte as a syntax #1285
Add Svelte as a syntax #1285
Conversation
Before we add built-in syntaxes to bat, they need to meet a minimum requirement of installs on PackageControl. Here are the metrics I found:
While the only metric we go by currently is PackageControl (dicussion: #1262), the number of JetBrains installs easily triples our minimum criteria... @sharkdp, @keith-hall: thoughts? |
Thanks, let me know if I can help. Btw, when you say "add built-in syntaxes," should I interpret that there is a way to have syntaxes added via plugins, and not as a submodule? |
Interesting that the syntax is most popular with JetBeans :) nice detective work, @eth-p. I say we can allow it.
@kjmph It is possible to customize bat to use syntax definitions not included by default in the installation. Here we are just discussing whether we want Svelte included in the installation by default. Having a plugin system to provide more syntaxes is something we are actively discussing, but doesn't exist yet. |
Ahh, I see now. I'll change my workflow and start using the cache build more effectively. Thanks for that pointer. |
Ok, but I don't think these numbers are comparable. Maybe JetBrains auto-downloads the syntax package every month for update checks (just as an example). Or maybe there are much more or much less JetBrains users compared to Sublime users. On the other hand, I think there are definitely some syntaxes that would not make sense for Sublime Text users to install.. but would still be very valuable for Anyhow.. I understand we want to merge this. @kjmph Thank you very much for your contribution! Could you please add an entry to the "unreleased" section in
where |
My apologies on the delay. I believe the latest commit takes care of the Changelog request. |
I believe this latest commit takes care of the regression syntax test. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
Added in bat v0.17. |
Another syntax definition that is helpful for bat to incorporate.