parent
07771d7773
commit
b7ff63ccc0
|
@ -73,7 +73,7 @@ Extension-specific configuration
|
|||
Colorschemes
|
||||
------------
|
||||
|
||||
:Location: :file:`powerline/colorschemes/{name}.json`
|
||||
:Location: :file:`powerline/colorschemes/{extension}/{name}.json`
|
||||
|
||||
``name``
|
||||
Name of the colorscheme.
|
||||
|
|
|
@ -13,15 +13,15 @@
|
|||
},
|
||||
"ext": {
|
||||
"terminal": {
|
||||
"colorscheme": "terminal_default",
|
||||
"colorscheme": "default",
|
||||
"theme": "default"
|
||||
},
|
||||
"tmux": {
|
||||
"colorscheme": "tmux_default",
|
||||
"colorscheme": "default",
|
||||
"theme": "default"
|
||||
},
|
||||
"vim": {
|
||||
"colorscheme": "vim_default",
|
||||
"colorscheme": "default",
|
||||
"theme": "default",
|
||||
"local_themes": {
|
||||
"help": "help"
|
||||
|
|
|
@ -24,7 +24,7 @@ class Powerline(object):
|
|||
self.config_ext = config['ext'][ext]
|
||||
|
||||
# Load and initialize colorscheme
|
||||
colorscheme_config = self._load_json_config(os.path.join('colorschemes', self.config_ext['colorscheme']))
|
||||
colorscheme_config = self._load_json_config(os.path.join('colorschemes', ext, self.config_ext['colorscheme']))
|
||||
colorscheme = Colorscheme(colorscheme_config)
|
||||
|
||||
# Load and initialize extension theme
|
||||
|
|
Loading…
Reference in New Issue