-
Notifications
You must be signed in to change notification settings - Fork 143
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
Support for gutterSettings #469
Comments
I'm extremely new to Rust but I think something like the following should work: syntect/src/highlighting/theme_load.rs Lines 312 to 320 in 48b6316
|
Just to note that implementing this would mean |
Ahh, that's a good catch. It looks like this is one of the few areas where the TextMate 2 format diverges from Sublime Text. So at the very least I don't think we'd want |
syntect currently reads from
gutter
andgutterForeground
when loading themes:syntect/src/highlighting/theme_load.rs
Lines 254 to 257 in c61ce60
But many themes instead store their gutter settings in a
gutterSettings
key. See for instance the base16 themes at https://github.com/chriskempson/base16-textmate/tree/master/Themes .gutterSettings
seems to be more popular thangutterForeground
. A GitHub search for themes withgutterSettings
returns 3k hits while a search forgutterForeground
returns 1.5k. Adding this would probably solve #315The text was updated successfully, but these errors were encountered: