Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix MatchParen disappearing cursor bug when running vim in Cygwin termin... #5

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
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
23 changes: 19 additions & 4 deletions colors/lucius.vim
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,11 @@ else
let s:no_term_bg = 0
endif

if exists("g:lucius_xterm_color_hacks")
let s:xterm_color_hacks = g:lucius_xterm_color_hacks
else
let s:xterm_color_hacks = 0
endif

" ============================================================================
" Color Map:
Expand Down Expand Up @@ -363,7 +368,7 @@ else
hi Comment guifg=#6c6c6c
hi Constant guifg=#afaf87
hi Directory guifg=#87af87
hi Identifier guifg=#87af5f
hi Identifier guifg=#87af00
hi PreProc guifg=#5faf87
hi Special guifg=#af87af
hi Statement guifg=#5fafd7
Expand Down Expand Up @@ -407,7 +412,7 @@ if s:style == "light"
hi CursorColumn guibg=#dadada
hi CursorLine guibg=#dadada
hi IncSearch guifg=fg guibg=#5fd7d7
hi MatchParen guifg=NONE guibg=#5fd7d7
hi MatchParen guifg=NONE guibg=#00d7d7
hi Search guifg=fg guibg=#ffaf00
hi Visual guibg=#afd7ff
if s:contrast == "low"
Expand All @@ -433,7 +438,7 @@ else
hi CursorIM guibg=#5f87af
hi Error guifg=#d75f5f guibg=#870000
hi IncSearch guibg=#00afaf
hi MatchParen guibg=#87af5f
hi MatchParen guibg=#87af00
hi Search guibg=#d78700
hi Todo guifg=#afaf00 guibg=#5f5f00
elseif s:contrast == "high"
Expand All @@ -449,7 +454,7 @@ else
hi CursorIM guibg=#87afd7
hi Error guifg=#ff8787 guibg=#870000
hi IncSearch guibg=#5fd7d7
hi MatchParen guibg=#afd75f
hi MatchParen guibg=#afd700
hi Search guibg=#d78700
hi Todo guifg=#d7d75f guibg=#5f5f00
endif
Expand Down Expand Up @@ -769,4 +774,14 @@ command! LuciusBlackLowContrast call SetLucius("dark", "low", "high")
command! LuciusBlackHighContrast call SetLucius("dark", "high", "high")
\ | colorscheme lucius


" ============================================================================
" Color Hacks (by John Novak):
" ============================================================================

if s:xterm_color_hacks == 1
hi Visual cterm=reverse ctermfg=yellow ctermbg=black
hi Todo ctermfg=black
endif

" vim: tw=78