mirror of
https://github.com/davegallant/nix-config
synced 2025-08-07 13:22:28 +00:00
Switch vim colorscheme to gruvbox (#23)
This commit is contained in:
174
.config/nvim/colors/watermark.vim
Normal file
174
.config/nvim/colors/watermark.vim
Normal file
@@ -0,0 +1,174 @@
|
||||
" Vim color file
|
||||
" watermark v1.0b
|
||||
" http://www.vim.org/scripts/script.php?script_id=1454
|
||||
"
|
||||
" Maintainer: Shawn Axsom <axs221@gmail.com>
|
||||
"
|
||||
" * Place :colo watermark 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="watermark"
|
||||
|
||||
hi Normal guifg=#8b9aaa guibg=#1a202a "1a1823
|
||||
hi NonText guifg=#382920 guibg=bg
|
||||
|
||||
hi Folded guibg=#222038 guifg=#BBDDCC
|
||||
hi FoldColumn guibg=black guifg=#dbcaa5
|
||||
hi LineNr guibg=black guifg=#8095d5
|
||||
hi StatusLine guibg=grey guifg=#203ad5 gui=none
|
||||
hi StatusLineNC guibg=grey guifg=#1b2058 gui=none
|
||||
hi VertSplit guibg=#22253d guifg=#223355 gui=none
|
||||
|
||||
hi tablinesel guibg=#515a71 guifg=#50aae5 gui=none
|
||||
hi tabline guibg=#4d4d5f guifg=#5b7098 gui=none
|
||||
hi tablinefill guibg=#2d2d3f guifg=#aaaaaa gui=none
|
||||
|
||||
" syntax highlighting """"""""""""""""""""""""""""""""""""""""
|
||||
|
||||
"set comments to grey on non-Windows OS's to make sure
|
||||
"it is readable
|
||||
if &term == "builtin_gui" || &term == "win32"
|
||||
hi Comment guifg=#369960 guibg=bg
|
||||
else
|
||||
hi Comment guifg=#559988 guibg=bg
|
||||
endif
|
||||
""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||
|
||||
hi Title guifg=#6d806a gui=none
|
||||
hi Underlined guifg=#5b759a gui=none
|
||||
|
||||
hi Statement guifg=#cac0c0 gui=none
|
||||
hi Type guifg=#6ac0ba gui=none
|
||||
hi Constant guifg=#70a0de
|
||||
hi Number guifg=#1da5da
|
||||
hi PreProc guifg=#c0a0b0
|
||||
hi Special guifg=#50a0b0
|
||||
hi Ignore guifg=grey40
|
||||
hi Todo guifg=orangered guibg=yellow2
|
||||
hi Error guibg=#f06070
|
||||
hi Function guifg=#a090a0 guibg=bg gui=None
|
||||
hi Identifier guifg=#a090b0
|
||||
highlight Exception gui=none guifg=#aaa4a0 guibg=bg
|
||||
"""""this section borrowed from OceanDeep/Midnight"""""
|
||||
highlight Conditional gui=None guifg=#c08ac0 guibg=bg
|
||||
highlight Repeat gui=None guifg=#c07ac0 guibg=bg
|
||||
"hi Label gui=None guifg=LightGreen guibg=bg
|
||||
highlight Operator gui=None guifg=#aa9a45 guibg=bg
|
||||
highlight Keyword gui=bold guifg=grey 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=#808373 guifg=#3a4520
|
||||
hi IncSearch guifg=#babeaa guibg=#3a4520
|
||||
|
||||
hi ModeMsg guifg=#00AACC
|
||||
hi MoreMsg guifg=SeaGreen
|
||||
hi Question guifg=#AABBCC
|
||||
hi SpecialKey guifg=#90dcb0
|
||||
hi Visual guifg=black guibg=#43D5FF
|
||||
hi VisualNOS guifg=#201a30 guibg=#a3a5FF
|
||||
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