"======================================================================================================================= " COLOR SCHEME: "======================================================================================================================= function! ExtendColorTheme() highlight! Bold cterm=bold gui=bold highlight! Italic cterm=italic gui=italic highlight! Underline cterm=underline gui=underline highlight! BoldUnderline cterm=bold,underline gui=bold,underline highlight! BoldItalic cterm=bold,Italic gui=bold,italic highlight! Todo cterm=bold gui=bold guibg=#ffffaa guifg=#000000 highlight! Error cterm=NONE ctermbg=NONE gui=NONE guibg=NONE highlight! SpellBad cterm=NONE gui=undercurl guibg=NONE guifg=red highlight! Ignore cterm=NONE ctermbg=NONE ctermfg=NONE gui=NONE guibg=NONE guifg=NONE highlight! LineNr cterm=italic gui=italic highlight! PmenuThumb cterm=inverse highlight! MoreMsg cterm=inverse highlight! link qfSeparator Normal | " reserve one space highlight! link qfLineNr Normal | " informational line numbers should look different highlight! link SpecialKey NonText | " makes tab stop (see listchars) less disturbing highlight! link WildMenu Search highlight! link Convention Error highlight! link PmenuSbar Pmenu highlight! link VertSplit LineNr highlight! link SignColumn LineNr highlight! link ALEErrorSign LineNr highlight! link FoldColumn VertSplit highlight! link Folded LineNr highlight! link EndOfBuffer NonText highlight! link DiagnosticHint Debug highlight! link DiagnosticInfo Debug highlight! link DiagnosticError Error highlight! link DiagnosticWarn Debug hi Comment gui=italic hi Keyword gui=bold autocmd BufReadPost * syntax match Convention /\s*$/ endfunction autocmd ColorScheme * call ExtendColorTheme() if &term == "linux" set notermguicolors else set termguicolors endif let g:PaperColor_Theme_Options = { \ 'theme': { \ 'default.dark': { \ 'transparent_background': 1 \ }, \ 'default.light': { \ 'transparent_background': 1 \ } \ } \ } colorscheme PaperColor