Skip to content

Commit

Permalink
terminal colors fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxSt committed Dec 23, 2014
1 parent 4b7eb08 commit 09eb1f4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions colors/flatcolor.vim
Original file line number Diff line number Diff line change
Expand Up @@ -107,11 +107,11 @@ function! s:h(group, style)
unlet a:style.cterm
endif
if g:flatcolor_termcolors == 16
let l:ctermfg = (has_key(a:style, "fg") ? a:style.fg.cterm : "NONE")
let l:ctermbg = (has_key(a:style, "bg") ? a:style.bg.cterm : "NONE")
else
let l:ctermfg = (has_key(a:style, "fg") ? a:style.fg.cterm16 : "NONE")
let l:ctermbg = (has_key(a:style, "bg") ? a:style.bg.cterm16 : "NONE")
else
let l:ctermfg = (has_key(a:style, "fg") ? a:style.fg.cterm : "NONE")
let l:ctermbg = (has_key(a:style, "bg") ? a:style.bg.cterm : "NONE")
end
execute "highlight" a:group
\ "guifg=" (has_key(a:style, "fg") ? a:style.fg.gui : "NONE")
Expand Down

0 comments on commit 09eb1f4

Please sign in to comment.