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

Fix #98: Implement Rust highlighting support #99

Merged
merged 4 commits into from
Oct 24, 2022

Conversation

alopatindev
Copy link
Contributor

No description provided.

@MightyCreak
Copy link
Owner

Hey @alopatindev !

What's the status on your PR ?

@alopatindev
Copy link
Contributor Author

Thanks for noticing the PR!

It works for non-exotic code. Lifetimes highlighting is not implemented yet. I hope I'll make more progress soon.

@alopatindev
Copy link
Contributor Author

Multiline strings, macros, character literals are also unimplemented.

I'll appreciate any help. I updated #98 with source code example.

@MightyCreak
Copy link
Owner

I did a pass and added support for various comments, chars and strings syntaxes.

Since the Rust language is becoming more and more used lately, I think I'll push it as is, even if it's not feature-complete, and hope that the community will jump in to fix the different issues.

Also, it would be interesting to see if a more modern GTK widget (like the one used in GNOME Builder) could bring syntax colorization without us having to create a syntax config for each language out there.

@MightyCreak MightyCreak changed the title WIP: Fix #98: Implement Rust highlighting support Fix #98: Implement Rust highlighting support Oct 24, 2022
@MightyCreak MightyCreak merged commit 47dfa2a into MightyCreak:master Oct 24, 2022
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

Successfully merging this pull request may close these issues.

None yet

2 participants