fix brocken deus theme

Themes was in dos mode.

closes #98
This commit is contained in:
Christian Brabandt
2017-08-02 22:35:51 +02:00
parent 66b135d1c9
commit 3bdcf54b4c
2 changed files with 126 additions and 123 deletions

View File

@@ -1,5 +1,3 @@
function! airline#themes#deus#refresh()
if get(g:, 'deus_termcolors', 256) == 16
let s:term_red = 1
let s:term_green = 2
@@ -117,7 +115,3 @@ function! airline#themes#deus#refresh()
let g:airline#themes#deus#palette.replace_modified.airline_error =
\ g:airline#themes#deus#palette.normal.airline_error
endfunction
call airline#themes#deus#refresh()

View File

@@ -213,6 +213,15 @@ Has no effect if using true/24-bit color. To enable 16-color mode: >
described in the installation notes for the joshdick/onedark.vim colorscheme:
(https://github.com/joshdick/onedark.vim#installation)
*airline-theme-deus*
*g:deus_termcolors*
Set to 256 for 256-color mode (the default), or 16 for 16-color mode.
Has no effect if using true/24-bit color. To enable 16-color mode: >
let g:onedark_termcolors = 16
<
==============================================================================
CONTRIBUTIONS *airline-themes-contributions*