Skip to content
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

Allow loading additional syntaxes for code highlighting #37

Closed
phil-opp opened this issue Apr 19, 2017 · 1 comment
Closed

Allow loading additional syntaxes for code highlighting #37

phil-opp opened this issue Apr 19, 2017 · 1 comment

Comments

@phil-opp
Copy link
Contributor

The syntect crate ships a default set of syntaxes that allows to highlight most common languages, but it does not include syntax files for more exotic languages such as nasm. It is possible to load additional syntaxes for such languages through the SyntaxSet::load_syntaxes method. It would be great if gutenberg could support this somehow, for example by adding support for all needed languages in gutenberg itself or by adding a command line argument.

@Keats
Copy link
Collaborator

Keats commented Apr 20, 2017

I guess that means keeping track of the official repo and some packages like https://packagecontrol.io/packages/NASM%20x86%20Assembly in your case and LESS/SCSS/Jade/etc that Sublime Text users typically need

I'll have a look today or tomorrow

@Keats Keats closed this as completed Apr 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants