-
Notifications
You must be signed in to change notification settings - Fork 142
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
Curated list of languages #168
Comments
I would definitely be interested in this as well. I currently also maintain a (small) list of syntaxes for bat: I think a separate repository might be useful such that the Concerning linguist, note that a lot of these are Regarding logistics, I think Git submodules are a great way of bundling different repositories since we keep the link to the upstream source. Unfortunately, a lot of Sublime Syntax repositories do not contain a |
Also, I just found this fork of sublimehq/Packages which is used by |
Just saw this. I am indeed also interested in how we could make adding more language syntaxes a more official process (there was some prior discussion of this at sourcegraph/syntect_server#3 but the issue is a bit stale unfortunately). I saw you found my fork of sublimehq/Packages @sharkdp :) In that repo all I've really done is taken existing But one thing to consider is: how can we override what is provided by sublimehq/Packages, as well? For example, with JavaScript/JSX files we've found e.g. https://github.com/babel/babel-sublime to be superior than sublimehq/Package's builtin JavaScript syntax, but doing so requires either replacing or having some type of package disablement feature like ST3 has. |
I'm late to this discussion, but have reason to be looking for just such a thing right now, and it seems like a shared repo which we can all contribute to (combined with a relatively simple config file and If folks are interested, and @Keats is up for it, the work they've done with Zola (formerly Gutenberg) seems like it's pretty ready-made for this as a well-set-up starting point. Thoughts? |
Yup that sounds reasonable. Would be nice if it was just a crate that people could include that depended on If someone makes such a crate/repo I will link to it prominently in the readme and docs. |
How would I go about getting mdcat to highlight zig files? https://github.com/ziglang/sublime-zig-language/ |
@daurnimator probably mdcat would need to use a syntax dump created from the list of syntaxes of |
This looks like something the syntect projects really needs. |
Have there been any decisions or progress made on this in the last year? I'm particularly interested in Elixir support (a la #134). If there've been no updates, that's totally okay. I just wanted to check! 😄 |
👋 Shameless plug: I maintain the
There are some small extras included like acknowledgements for the embedded assets, something akin to Re: feature flagsThe only feature flags I opted for are for toggling on I did investigate splitting up the set of languages further, but the asset handling starts becoming much more complex, and the largest languages are all decently popular. Instead I've been focusing on trying to reduce the size of embedded syntaxes within New syntax/theme inclusionFor the time being I'm only including all of the assets that If people want to ship a slimmer set for their application then you can always use a build script or some similar mechanism to build a minimal set containing only the syntaxes/themes you need Footnotes
|
Extracting from #113 into its own issue.
Many people expressed a desire to add a support for new languages.
The current story is unclear because the list of syntaxes is coming from https://github.com/sublimehq/Packages/ and its README says
Decouping list of supported languages from
sublimehq/Packages
would allow to move forward.List of already discussed options:
syntect
In #113 (comment) @trishume said
I'm opening this issue in a hope to continue this conversation and start some work.
The text was updated successfully, but these errors were encountered: