jp: dark and light theme:

- `background` setting can now be used in sat.conf to indicate if the terminal use a
  `dark` or a `light` colour
- if `background` is not set or set to `auto`, the background colour is autodetected
- Jp.get_config (or CommandBase.get_config) method can now be used to retrieve a setting
This commit is contained in:
Goffi 2019-10-01 22:49:10 +02:00
commit 1efb60a429

View file

@ -719,7 +719,7 @@ class Preview(base.CommandBase, common.BaseEdit):
else:
aionotify = None
sat_conf = config.parseMainConf()
sat_conf = self.sat_conf
SYNTAX_EXT.update(config.getConfig(sat_conf, "jp", CONF_SYNTAX_EXT, {}))
try: