mirror of
https://github.com/davegallant/nix-config
synced 2025-08-08 01:42:28 +00:00
Switch vim colorscheme to gruvbox (#23)
This commit is contained in:
165
.config/nvim/colors/yeller.vim
Normal file
165
.config/nvim/colors/yeller.vim
Normal file
@@ -0,0 +1,165 @@
|
||||
" Vim color file
|
||||
" yeller v1.0b
|
||||
" http://www.vim.org/scripts/script.php?script_id=1454
|
||||
"
|
||||
" Maintainer: Shawn Axsom <axs221@gmail.com>
|
||||
"
|
||||
" * Place :colo yeller in your VimRC/GVimRC file
|
||||
" * GvimRC if using GUI any
|
||||
"
|
||||
" - Thanks to Desert and OceanDeep for their color scheme
|
||||
" file layouts
|
||||
" - Thanks to Raimon Grau for his feedback
|
||||
|
||||
set background=dark
|
||||
if version > 580
|
||||
" no guarantees for version 5.8 and below, but this makes it stop
|
||||
" complaining
|
||||
hi clear
|
||||
if exists("syntax_on")
|
||||
syntax reset
|
||||
endif
|
||||
endif
|
||||
|
||||
let g:colors_name="yeller"
|
||||
|
||||
hi Normal guifg=#cbdcef guibg=#203327 "1a1823
|
||||
hi NonText guifg=#382920 guibg=#151b15
|
||||
|
||||
hi Folded guibg=#201f32 guifg=#BBDDCC
|
||||
hi FoldColumn guibg=#22302f guifg=#dbcaa5
|
||||
hi LineNr guibg=#23302d guifg=#50c5b5
|
||||
hi StatusLine guibg=#2c3a3a guifg=#6a955d gui=none
|
||||
hi StatusLineNC guibg=#253835 guifg=#151318 gui=none
|
||||
hi VertSplit guibg=#22353a guifg=grey50 gui=none
|
||||
|
||||
" syntax highlighting """"""""""""""""""""""""""""""""""""""""
|
||||
|
||||
hi Comment guifg=#3a504a
|
||||
hi Title guifg=#fb4c2f gui=none
|
||||
hi Underlined guifg=#fb4c5a gui=none
|
||||
|
||||
hi Statement guifg=#ffef60 gui=none
|
||||
hi Type guifg=#aab56a gui=none
|
||||
hi Constant guifg=#f09a5a
|
||||
hi Number guifg=#f0aa8a
|
||||
hi PreProc guifg=#d045a3
|
||||
hi Identifier guifg=#b08aaa
|
||||
hi Special guifg=#a0aa95
|
||||
hi Operator guifg=#4a4a50
|
||||
"hi Keyword guifg=green
|
||||
"hi Error guibg=#408452
|
||||
hi Function guifg=#c05a3a guibg=bg "or green 50b3b0
|
||||
hi Conditional guifg=#f5a05a guibg=bg
|
||||
hi Repeat guifg=#f5705a guibg=bg
|
||||
hi Exception guifg=#ffff30
|
||||
"hi Ignore guifg=grey40
|
||||
"hi Todo guifg=orangered guibg=yellow2
|
||||
"""""this section borrowed from OceanDeep/Midnight"""""
|
||||
"hi Label gui=None guifg=LightGreen guibg=bg
|
||||
"highlight Operator gui=None guifg=#daca65 guibg=bg
|
||||
"highlight Keyword gui=bold guifg=grey guibg=bg
|
||||
"highlight Exception gui=none guifg=#ea5460 guibg=bg
|
||||
"""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||
"end syntax highlighting """""""""""""""""""""""""""""""""""""
|
||||
|
||||
" highlight groups
|
||||
"hi CursorIM
|
||||
hi Directory guifg=#bbd0df
|
||||
"hi DiffAdd
|
||||
"hi DiffChange
|
||||
"hi DiffDelete
|
||||
"hi DiffText
|
||||
hi ErrorMsg guibg=#ff4545
|
||||
|
||||
hi Cursor guibg=#cad5c0 guifg=#05293d
|
||||
|
||||
|
||||
hi Search guibg=#9a9d8d guifg=#3a4520
|
||||
hi IncSearch guifg=#caceba guibg=#3a4520
|
||||
|
||||
hi ModeMsg guifg=#00AACC
|
||||
hi MoreMsg guifg=SeaGreen
|
||||
hi Question guifg=#AABBCC
|
||||
hi SpecialKey guifg=#90dcb0
|
||||
hi Visual guifg=#4a2F3F guibg=#935FdF
|
||||
"hi VisualNOS
|
||||
hi WarningMsg guifg=salmon
|
||||
"hi WildMenu
|
||||
"hi Menu
|
||||
"hi Scrollbar guibg=grey30 guifg=tan
|
||||
"hi Tooltip
|
||||
|
||||
|
||||
" new Vim 7.0 items
|
||||
hi Pmenu guibg=#3a6595 guifg=#9aadd5
|
||||
hi PmenuSel guibg=#4a85ba guifg=#b0d0f0
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
" color terminal definitions
|
||||
hi Normal ctermfg=grey
|
||||
hi Number ctermfg=blue
|
||||
highlight Operator ctermfg=yellow
|
||||
highlight Conditional ctermfg=darkred
|
||||
highlight Repeat ctermfg=darkred
|
||||
hi Exception ctermfg=red
|
||||
hi function ctermfg=darkyellow
|
||||
hi SpecialKey ctermfg=darkgreen
|
||||
hi NonText cterm=bold ctermfg=darkgrey
|
||||
hi Directory ctermfg=darkcyan
|
||||
hi ErrorMsg cterm=bold ctermfg=7 ctermbg=1
|
||||
hi IncSearch ctermfg=yellow ctermbg=darkyellow cterm=NONE
|
||||
hi Search ctermfg=black ctermbg=darkyellow cterm=NONE
|
||||
hi MoreMsg ctermfg=darkgreen
|
||||
hi ModeMsg cterm=NONE ctermfg=brown
|
||||
hi LineNr ctermfg=darkcyan ctermbg=NONE
|
||||
hi Question ctermfg=green
|
||||
hi StatusLine ctermfg=blue ctermbg=grey cterm=NONE
|
||||
hi StatusLineNC ctermfg=black ctermbg=grey cterm=NONE
|
||||
hi VertSplit ctermfg=black ctermbg=grey cterm=NONE
|
||||
hi Title ctermfg=Yellow cterm=NONE
|
||||
hi Visual ctermbg=darkcyan ctermfg=black cterm=NONE
|
||||
hi VisualNOS ctermbg=darkcyan ctermfg=black cterm=NONE
|
||||
hi WarningMsg ctermfg=1
|
||||
hi WildMenu ctermfg=0 ctermbg=3
|
||||
hi Folded ctermfg=darkgreen ctermbg=NONE cterm=NONE
|
||||
hi FoldColumn ctermfg=green ctermbg=black
|
||||
hi DiffAdd ctermbg=4
|
||||
hi DiffChange ctermbg=5
|
||||
hi DiffDelete cterm=bold ctermfg=4 ctermbg=6
|
||||
hi DiffText cterm=bold ctermbg=1
|
||||
hi identifier ctermfg=darkmagenta
|
||||
|
||||
"set comments to grey on non-Windows OS's to make sure
|
||||
"it is readable
|
||||
if &term == "builtin_gui" || &term == "win32"
|
||||
hi Comment ctermfg=darkgrey ctermbg=darkblue
|
||||
hi IncSearch ctermfg=black ctermbg=grey cterm=NONE
|
||||
hi Search ctermfg=black ctermbg=darkgrey cterm=NONE
|
||||
else
|
||||
hi Comment ctermfg=grey ctermbg=darkblue
|
||||
hi IncSearch ctermfg=yellow ctermbg=darkyellow cterm=NONE
|
||||
hi Search ctermfg=black ctermbg=darkyellow cterm=NONE
|
||||
endif
|
||||
""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||
|
||||
hi Constant ctermfg=blue
|
||||
hi Special ctermfg=darkmagenta
|
||||
hi Statement ctermfg=red
|
||||
hi PreProc ctermfg=magenta
|
||||
hi Type ctermfg=darkblue " ctermbg=darkblue
|
||||
hi Underlined ctermfg=yellow cterm=NONE
|
||||
hi Ignore cterm=bold ctermfg=7
|
||||
hi Ignore ctermfg=darkgrey
|
||||
hi Error cterm=bold ctermfg=7 ctermbg=1
|
||||
|
||||
" new Vim 7.0 items
|
||||
hi Pmenu ctermbg=darkblue ctermfg=lightgrey
|
||||
hi PmenuSel ctermbg=lightblue ctermfg=white
|
||||
|
||||
"vim: sw=4
|
||||
|
||||
|
Reference in New Issue
Block a user