-
-
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 Support for Rusty Object Notation (RON) #2427
Comments
Forgive the silly question: I see RON is designed to be similar to Rust syntax - can we not just map RON files to the Rust syntax definition? It would be preferable to bundling another syntax, especially one that isn't super popular. Or is there something that wouldn't get highlighted correctly? |
yup, i too think that will work (mapping RON to rust syntax). mahalo! |
yes, PRs are welcome :) note that the Rust syntax definition comes from a submodule which we can't update at the moment, so your choices are to make a patch for it (i.e. similar to https://github.com/sharkdp/bat/blob/master/assets/patches/Groff.sublime-syntax.patch) or add it to https://github.com/sharkdp/bat/blob/master/src/syntax_mapping.rs. |
Hi Can I work on this? |
Add a mapping to use `Rust` for rusty object notation, identified by `.ron` extension. See [sharkdp#2427](sharkdp#2427).
👋 Hi, I was looking into good first issues to contribute on, and I believe this one can be closed given it was solved by #2642 , doesn't it? Just figured i would notify along the way 🙂 |
Indeed, thanks 🙂 |
Syntax:
RON - Rusty Object Notation - https://github.com/ron-rs/ron
Guideline Criteria:
https://packagecontrol.io/packages/RON
The text was updated successfully, but these errors were encountered: