Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 20 additions & 20 deletions colors/fromtermcolors.vim
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ endif
if &background == "dark" && s:gt_eight

let s:brightbg = 'BrightBlack'
let s:brightfg = 'NormalWhite'
let s:brightfg = 'NormalWhite'

let s:normalbg = 'NormalBlack'
let s:normalfg = 'NormalWhite'
Expand All @@ -97,11 +97,11 @@ else
if s:gt_eight
let s:normalbg = 'NormalWhite'
let s:brightbg = 'NormalWhite'
let s:brightfg = 'BrightBlack'
let s:brightfg = 'BrightBlack'
else
let s:normalbg = 'NONE'
let s:brightbg = 'NormalWhite'
let s:brightfg = 'NormalWhite'
let s:brightfg = 'NormalWhite'
endif

endif
Expand All @@ -117,14 +117,14 @@ if &background == "dark" && s:gt_eight && (!exists('g:fromtermcolors_fg_dark') |
let s:brightmagenta = 'BrightMagenta'
let s:brightcyan = 'BrightCyan'

let s:normalred = 'NormalRed'
let s:normalgreen = 'NormalGreen'
let s:normalyellow = 'NormalYellow'
let s:normalblue = 'NormalBlue'
let s:normalmagenta = 'NormalMagenta'
let s:normalcyan = 'NormalCyan'
let s:normalred = 'NormalRed'
let s:normalgreen = 'NormalGreen'
let s:normalyellow = 'NormalYellow'
let s:normalblue = 'NormalBlue'
let s:normalmagenta = 'NormalMagenta'
let s:normalcyan = 'NormalCyan'

let s:cursoryellow = 'BrightWhite'
let s:cursoryellow = 'BrightWhite'

else

Expand All @@ -144,7 +144,7 @@ else
let s:normalmagenta = 'BrightMagenta'
let s:normalcyan = 'BrightCyan'

let s:cursoryellow = 'BrightYellow'
let s:cursoryellow = 'BrightYellow'

else

Expand All @@ -155,18 +155,18 @@ else
let s:normalmagenta = s:brightmagenta
let s:normalcyan = s:brightcyan

let s:cursoryellow = s:brightyellow
let s:cursoryellow = s:brightyellow

endif
endif

" Use something other than red if user has asked to use red only for errors
if exists('g:fromtermcolors_red_error_only') && g:fromtermcolors_red_error_only == 1
let s:alt_red = s:normalcyan
let s:dim_alt_red = s:normalcyan
let s:alt_red = s:normalcyan
let s:dim_alt_red = s:normalcyan
else
let s:alt_red = s:brightred
let s:dim_alt_red = s:normalred
let s:alt_red = s:brightred
let s:dim_alt_red = s:normalred
endif


Expand Down Expand Up @@ -244,8 +244,8 @@ else
call <SID>set_colors("PMenuSel" , s:cursoryellow , s:normalfg , "")
endif

call <sid>set_colors("Cursor" , s:cursoryellow, s:normalbg, "")
call <sid>set_colors("CursorLine" , "", "", "")
call <sid>set_colors("Cursor" , s:cursoryellow, s:normalbg, "")
call <sid>set_colors("CursorLine" , "", "", "")
call <sid>set_colors("NvimInternalError", s:normalred, "", "")
call <SID>set_colors("PMenuSbar" , s:normalfg, s:brightbg, "")
call <SID>set_colors("PMenuThumb" , s:normalfg, s:brightbg, "")
Expand All @@ -267,8 +267,8 @@ call <SID>set_colors("TabLine" , s:brightbg, s:normalblue, "NONE")
call <SID>set_colors("TabLineFill" , s:normalblue, s:brightfg, "")
call <SID>set_colors("TabLineSel" , s:normalfg, s:normalbg, "NONE")
call <SID>set_colors("Title" , s:brightyellow, "", "")
call <sid>set_colors("TermCursor" , s:cursoryellow, "", "")
call <sid>set_colors("TermCursorNC" , s:normalfg, "", "")
call <sid>set_colors("TermCursor" , s:cursoryellow, "", "")
call <sid>set_colors("TermCursorNC" , s:normalfg, "", "")
call <SID>set_colors("Visual" , "", s:normalblue, "")
call <SID>set_colors("VisualNOS" , s:brightbg, "", "")
call <SID>set_colors("WarningMsg" , s:brightred, s:brightbg, "")
Expand Down