syntect currently reads from gutter and gutterForeground when loading themes:
|
"gutter" => settings.gutter = Color::parse_settings(value).ok(), |
|
"gutterForeground" => { |
|
settings.gutter_foreground = Color::parse_settings(value).ok() |
|
} |
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 than
gutterForeground. A GitHub search for themes with
gutterSettings returns
3k hits while a search for
gutterForeground returns
1.5k. Adding this would probably solve
#315
syntect currently reads from
gutterandgutterForegroundwhen loading themes:syntect/src/highlighting/theme_load.rs
Lines 254 to 257 in c61ce60
But many themes instead store their gutter settings in a
gutterSettingskey. See for instance the base16 themes at https://github.com/chriskempson/base16-textmate/tree/master/Themes .gutterSettingsseems to be more popular thangutterForeground. A GitHub search for themes withgutterSettingsreturns 3k hits while a search forgutterForegroundreturns 1.5k. Adding this would probably solve #315