" -----------------------------------------------------------------------------
" File: gruvbox.vim
" Description: Retro groove color scheme for Vim
" Author: morhetz <morhetz@gmail.com>
" Source: https://github.com/morhetz/gruvbox
" Last Modified: 12 Aug 2017
" -----------------------------------------------------------------------------
" Supporting code -------------------------------------------------------------
" Initialisation: {{{
if version > 580
hi clear
if exists("syntax_on")
syntax reset
endif
endif
let g:colors_name='gruvbox'
if !(has('termguicolors') && &termguicolors) && !has('gui_running') && &t_Co != 256
finish
endif
" }}}
" Global Settings: {{{
if !exists('g:gruvbox_bold')
let g:gruvbox_bold=1
endif
if !exists('g:gruvbox_italic')
if has('gui_running') || $TERM_ITALICS == 'true'
let g:gruvbox_italic=1
else
let g:gruvbox_italic=0
endif
endif
if !exists('g:gruvbox_undercurl')
let g:gruvbox_undercurl=1
endif
if !exists('g:gruvbox_underline')
let g:gruvbox_underline=1
endif
if !exists('g:gruvbox_inverse')
let g:gruvbox_inverse=1
endif
if !exists('g:gruvbox_guisp_fallback') || index(['fg', 'bg'], g:gruvbox_guisp_fallback) == -1
let g:gruvbox_guisp_fallback='NONE'
endif
if !exists('g:gruvbox_improved_strings')
let g:gruvbox_improved_strings=0
endif
if !exists('g:gruvbox_improved_warnings')
let g:gruvbox_improved_warnings=0
endif
if !exists('g:gruvbox_termcolors')
let g:gruvbox_termcolors=256
endif
if !exists('g:gruvbox_invert_indent_guides')
let g:gruvbox_invert_indent_guides=0
endif
if exists('g:gruvbox_contrast')
echo 'g:gruvbox_contrast is deprecated; use g:gruvbox_contrast_light and g:gruvbox_contrast_dark instead'
endif
if !exists('g:gruvbox_contrast_dark')
let g:gruvbox_contrast_dark='medium'
endif
if !exists('g:gruvbox_contrast_light')
let g:gruvbox_contrast_light='medium'
endif
let s:is_dark=(&background == 'dark')
" }}}
" Palette: {{{
" setup palette dictionary
let s:gb = {}
" fill it with absolute colors
let s:gb.dark0_hard = ['#1d2021', 234] " 29-32-33
let s:gb.dark0 = ['#282828', 235] " 40-40-40
let s:gb.dark0_soft = ['#32302f', 236] " 50-48-47
let s:gb.dark1 = ['#3c3836', 237] " 60-56-54
let s:gb.dark2 = ['#504945', 239] " 80-73-69
let s:gb.dark3 = ['#665c54', 241] " 102-92-84
let s:gb.dark4 = ['#7c6f64', 243] " 124-111-100
let s:gb.dark4_256 = ['#7c6f64', 243] " 124-111-100
let s:gb.gray_245 = ['#928374', 245] " 146-131-116
let s:gb.gray_244 = ['#928374', 244] " 146-131-116
let s:gb.light0_hard = ['#f9f5d7', 230] " 249-245-215
let s:gb.light0 = ['#fbf1c7', 229] " 253-244-193
let s:gb.light0_soft = ['#f2e5bc', 228] " 242-229-188
let s:gb.light1 = ['#ebdbb2', 223] " 235-219-178
let s:gb.light2 = ['#d5c4a1', 250] " 213-196-161
let s:gb.light3 = ['#bdae93', 248] " 189-174-147
let s:gb.light4 = ['#a89984', 246] " 168-153-132
let s:gb.light4_256 = ['#a89984', 246] " 168-153-132
let s:gb.bright_red = ['#fb4934', 167] " 251-73-52
let s:gb.
|