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:
parent
d4bf063788
commit
1efb60a429
1 changed files with 65 additions and 2 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue