This commit is contained in:
ManjaroOne666 2018-11-01 12:53:29 +00:00
parent 1d12b08bd2
commit b61f26f9af
5 changed files with 395 additions and 280 deletions

View File

@ -0,0 +1,10 @@
function! ft#compileeruby#CompileEruby(reload) abort
silent execute 'update | edit'
" TODO file extension??? what to do
execute '!erb -T - % > %:r.vim'
if a:reload
source $MYVIMRC
endif
endfunction

View File

@ -41,25 +41,6 @@
# #
# If your colors are defined correctly, the resulting colorscheme is guaranteed # If your colors are defined correctly, the resulting colorscheme is guaranteed
# to work in GVim (Windows/Linux), MacVim, and any properly set up terminal emulator. # to work in GVim (Windows/Linux), MacVim, and any properly set up terminal emulator.
#
# The colors below are the first 16 colors of the xterm palette. They
# are only here as an example so you can get rid of them, I won't be mad.
black = ["#000000", 0, "black"]
darkred = ["#800000", 1, "darkred"]
darkgreen = ["#008000", 2, "darkgreen"]
darkyellow = ["#808000", 3, "darkyellow"]
darkblue = ["#000080", 4, "darkblue"]
darkmagenta = ["#800080", 5, "darkmagenta"]
darkcyan = ["#008080", 6, "darkcyan"]
gray = ["#808080", 7, "gray"]
darkgray = ["#c0c0c0", 8, "darkgray"]
red = ["#ff0000", 9, "red"]
green = ["#00ff00", 10, "green"]
yellow = ["#ffff00", 11, "yellow"]
blue = ["#0000ff", 12, "blue"]
magenta = ["#ff00ff", 13, "magenta"]
cyan = ["#00ffff", 14, "cyan"]
white = ["#ffffff", 15, "white"]
black = ["#131313", 0, "black"] black = ["#131313", 0, "black"]
gray0 = ["#1f2121", 232, "black"] gray0 = ["#1f2121", 232, "black"]
@ -76,8 +57,6 @@
gray7 = ["#adaeae", 250, "white"] gray7 = ["#adaeae", 250, "white"]
white = ["#eeeeee", 255, "white"] white = ["#eeeeee", 255, "white"]
grayTMP = ["#5c5d5d", 240, "gray"]
# need red, green , blue, etc colors for syntax # need red, green , blue, etc colors for syntax
grayred0 = ["#373030", 52, "darkred"] grayred0 = ["#373030", 52, "darkred"]
grayred3 = ["#6b5d5d", 52, "darkred"] grayred3 = ["#6b5d5d", 52, "darkred"]
@ -94,11 +73,12 @@
red_bg = ["#463838", 52, "darkred"] red_bg = ["#463838", 52, "darkred"]
red_ui1 = ["#655757", 124, "red"] red_ui1 = ["#655757", 124, "red"]
red_ui2 = ["#7b6a6a", 124, "red"] red_ui2 = ["#7b6a6a", 124, "red"]
red_ui3 = ["#938585", 124, "red"] red_ui3 = ["#725454", 124, "red"]
red_ui4 = ["#916c6c", 124, "red"]
green_diff = ["#202820", 22, "darkgreen"] green_diff = ["#202820", 22, "darkgreen"]
green_ui1 = ["#515b51", 34, "green"] green_ui1 = ["#515b51", 34, "green"]
green_ui2 = ["#626e62", 34, "green"] green_ui2 = ["#626e62", 34, "green"]
green_ui3 = ["#7e887e", 34, "green"] green_ui3 = ["#496349", 34, "green"]
blue_diff = ["#242528", 17, "darkblue"] blue_diff = ["#242528", 17, "darkblue"]
blue_bg0 = ["#384046", 17, "darkblue"] blue_bg0 = ["#384046", 17, "darkblue"]
blue_bg1 = ["#49535a", 17, "darkblue"] blue_bg1 = ["#49535a", 17, "darkblue"]
@ -106,7 +86,8 @@
blue_ui1 = ["#62626c", 19, "blue"] blue_ui1 = ["#62626c", 19, "blue"]
blue_diff_text = ["#656a7c", 21, "white"] blue_diff_text = ["#656a7c", 21, "white"]
blue_ui2 = ["#777783", 19, "blue"] blue_ui2 = ["#777783", 19, "blue"]
blue_ui3 = ["#9090a5", 19, "blue"] blue_ui3 = ["#596171", 19, "blue"]
purple_ui3 = ["#5c4a5a", 126, "magenta"]
error = ["#c74444", 196, "red"] error = ["#c74444", 196, "red"]
warning = ["#a67038", 166, "yellow"] warning = ["#a67038", 166, "yellow"]
@ -198,14 +179,18 @@
[ "StatusLine", gray_deco, gray7, "NONE" ], [ "StatusLine", gray_deco, gray7, "NONE" ],
[ "StatusLineNC", gray_deco, gray4, "NONE" ], [ "StatusLineNC", gray_deco, gray4, "NONE" ],
[ "VertSplit", gray_bg, gray_bg, "NONE" ],
[ "TabLine", gray_deco, gray4, "NONE" ], [ "TabLine", gray_deco, gray4, "NONE" ],
[ "TabLineFill", gray_deco, gray_deco, "NONE" ], [ "TabLineFill", gray_deco, gray_deco, "NONE" ],
[ "TabLineSel", gray_deco, gray7, "NONE" ], [ "TabLineSel", gray_deco, gray7, "NONE" ],
[ "VertSplit", gray_bg, gray_deco, "NONE" ],
[ "FoldColumn", gray_bg, gray2, "NONE" ],
[ "ColorColumn", colorcolumn, "NONE", "NONE" ],
[ "SignColumn", gray_bg, gray7, "NONE" ],
[ "CursorLine", colorcolumn, "NONE", "NONE" ],
[ "Title", "NONE", gray6, "bold" ], [ "Title", "NONE", gray6, "bold" ],
[ "CursorLine", colorcolumn, "NONE", "NONE" ],
[ "LineNr", gray_bg, gray3, "NONE" ], [ "LineNr", gray_bg, gray3, "NONE" ],
[ "CursorLineNr", gray_bg, gray5, "NONE" ], [ "CursorLineNr", gray_bg, gray5, "NONE" ],
@ -217,10 +202,6 @@
[ "PmenuSel", menubg, menusel, "bold" ], [ "PmenuSel", menubg, menusel, "bold" ],
[ "PmenuThumb", menufg, menufg, "NONE" ], [ "PmenuThumb", menufg, menufg, "NONE" ],
[ "FoldColumn", gray_deco, gray4, "NONE" ],
[ "ColorColumn", colorcolumn, "NONE", "NONE" ],
[ "SignColumn", gray_bg, gray7, "NONE" ],
[ "SpecialKey", "NONE", red_ui1, "NONE" ], [ "SpecialKey", "NONE", red_ui1, "NONE" ],
[ "DiffAdd", green_diff, "NONE", "NONE" ], [ "DiffAdd", green_diff, "NONE", "NONE" ],
@ -253,7 +234,24 @@
# [ "Cursor", "NONE", "NONE", "NONE" ], # [ "Cursor", "NONE", "NONE", "NONE" ],
# [ "CursorColumn", "NONE", "NONE", "NONE" ], # [ "CursorColumn", "NONE", "NONE", "NONE" ],
[ "EndOfBuffer", gray_bg, gray_bg, "NONE" ] [ "EndOfBuffer", gray_bg, gray_bg, "NONE" ],
[ "TabLineNum", gray_deco, gray4, "bold"],
[ "TabLineNumSel", gray_deco, gray5, "bold"],
[ "StatusLineDivActive", gray4, gray4, "NONE"],
[ "StatusLineDivInput", blue_bg0, blue_bg0, "NONE"],
[ "StatusLineDivMod", red_ui1, red_ui1, "NONE"],
[ "StatusLineDivModActive", red_ui4, red_ui4, "NONE"],
[ "StatusLineBufferNrActive", gray_deco, gray6, "NONE"],
[ "GitGutterDelete", "NONE", red_ui3, "bold"],
[ "GitGutterChange", "NONE", blue_ui3, "bold"],
[ "GitGutterAdd", "NONE", green_ui3, "bold"],
[ "GitGutterChangeDelete", "NONE", purple_ui3, "bold"]
] ]
# Step 4: generation # Step 4: generation
@ -362,3 +360,11 @@ elseif &t_Co == 8 || $TERM !~# '^linux' || &t_Co == 16
<% end -%> <% end -%>
<% end -%> <% end -%>
endif endif
augroup cursorlinebg
au!
au InsertEnter * hi CursorLine ctermbg=232 ctermfg=NONE cterm=NONE guibg=#384046 guifg=NONE gui=NONE
au InsertLeave * hi CursorLine ctermbg=232 ctermfg=NONE cterm=NONE guibg=#272829 guifg=NONE gui=NONE
augroup END

View File

@ -12,262 +12,180 @@ endif
let colors_name = "monotonous2" let colors_name = "monotonous2"
if ($TERM =~ '256' || &t_Co >= 256) || has("gui_running") if ($TERM =~ '256' || &t_Co >= 256) || has("gui_running")
hi Normal ctermbg=7 ctermfg=255 cterm=NONE guibg=#808080 guifg=#eeeeee gui=NONE hi Normal ctermbg=234 ctermfg=243 cterm=NONE guibg=#2a2c2d guifg=#767676 gui=NONE
set background=dark set background=dark
hi NonText ctermbg=7 ctermfg=255 cterm=NONE guibg=#808080 guifg=#eeeeee gui=NONE hi Special ctermbg=NONE ctermfg=124 cterm=bold guibg=NONE guifg=#cab0af gui=bold
hi Comment ctermbg=7 ctermfg=255 cterm=NONE guibg=#808080 guifg=#eeeeee gui=NONE hi NonText ctermbg=NONE ctermfg=124 cterm=NONE guibg=NONE guifg=#d1bab9 gui=NONE
hi Constant ctermbg=7 ctermfg=255 cterm=NONE guibg=#808080 guifg=#eeeeee gui=NONE hi Tag ctermbg=52 ctermfg=NONE cterm=NONE guibg=#373030 guifg=NONE gui=NONE
hi Error ctermbg=7 ctermfg=255 cterm=NONE guibg=#808080 guifg=#eeeeee gui=NONE hi Identifier ctermbg=NONE ctermfg=88 cterm=NONE guibg=NONE guifg=#b79392 gui=NONE
hi Identifier ctermbg=7 ctermfg=255 cterm=NONE guibg=#808080 guifg=#eeeeee gui=NONE hi Function ctermbg=NONE ctermfg=88 cterm=bold guibg=NONE guifg=#c4a6a5 gui=bold
hi Ignore ctermbg=7 ctermfg=255 cterm=NONE guibg=#808080 guifg=#eeeeee gui=NONE hi Type ctermbg=NONE ctermfg=52 cterm=NONE guibg=NONE guifg=#967978 gui=NONE
hi PreProc ctermbg=7 ctermfg=255 cterm=NONE guibg=#808080 guifg=#eeeeee gui=NONE hi StorageClass ctermbg=NONE ctermfg=52 cterm=bold guibg=NONE guifg=#866b6b gui=bold
hi Special ctermbg=7 ctermfg=255 cterm=NONE guibg=#808080 guifg=#eeeeee gui=NONE hi link Structure StorageClass
hi Statement ctermbg=7 ctermfg=255 cterm=NONE guibg=#808080 guifg=#eeeeee gui=NONE hi link TypeDef StorageClass
hi String ctermbg=7 ctermfg=255 cterm=NONE guibg=#808080 guifg=#eeeeee gui=NONE hi Constant ctermbg=NONE ctermfg=255 cterm=italic guibg=NONE guifg=#eeeeee gui=italic
hi Number ctermbg=7 ctermfg=255 cterm=NONE guibg=#808080 guifg=#eeeeee gui=NONE hi String ctermbg=NONE ctermfg=250 cterm=italic guibg=NONE guifg=#adaeae gui=italic
hi Todo ctermbg=7 ctermfg=255 cterm=NONE guibg=#808080 guifg=#eeeeee gui=NONE hi link Character String
hi Type ctermbg=7 ctermfg=255 cterm=NONE guibg=#808080 guifg=#eeeeee gui=NONE hi link Number String
hi Underlined ctermbg=7 ctermfg=255 cterm=NONE guibg=#808080 guifg=#eeeeee gui=NONE hi link Boolean String
hi StatusLine ctermbg=7 ctermfg=255 cterm=NONE guibg=#808080 guifg=#eeeeee gui=NONE hi link Float String
hi StatusLineNC ctermbg=7 ctermfg=255 cterm=NONE guibg=#808080 guifg=#eeeeee gui=NONE hi Folded ctermbg=NONE ctermfg=250 cterm=NONE guibg=NONE guifg=#adaeae gui=NONE
hi VertSplit ctermbg=7 ctermfg=255 cterm=NONE guibg=#808080 guifg=#eeeeee gui=NONE hi Statement ctermbg=NONE ctermfg=243 cterm=NONE guibg=NONE guifg=#767676 gui=NONE
hi TabLine ctermbg=7 ctermfg=255 cterm=NONE guibg=#808080 guifg=#eeeeee gui=NONE hi Conditional ctermbg=NONE ctermfg=247 cterm=bold guibg=NONE guifg=#999a9a gui=bold
hi TabLineFill ctermbg=7 ctermfg=255 cterm=NONE guibg=#808080 guifg=#eeeeee gui=NONE hi Repeat ctermbg=NONE ctermfg=247 cterm=bold guibg=NONE guifg=#999a9a gui=bold
hi TabLineSel ctermbg=7 ctermfg=255 cterm=NONE guibg=#808080 guifg=#eeeeee gui=NONE hi Label ctermbg=NONE ctermfg=244 cterm=bold guibg=NONE guifg=#848585 gui=bold
hi Title ctermbg=7 ctermfg=255 cterm=NONE guibg=#808080 guifg=#eeeeee gui=NONE hi Operator ctermbg=NONE ctermfg=240 cterm=bold guibg=NONE guifg=#5c5d5d gui=bold
hi CursorLine ctermbg=7 ctermfg=255 cterm=NONE guibg=#808080 guifg=#eeeeee gui=NONE hi Keyword ctermbg=NONE ctermfg=250 cterm=bold guibg=NONE guifg=#adaeae gui=bold
hi LineNr ctermbg=7 ctermfg=255 cterm=NONE guibg=#808080 guifg=#eeeeee gui=NONE hi Exception ctermbg=NONE ctermfg=52 cterm=bold guibg=NONE guifg=#6b5d5d gui=bold
hi CursorLineNr ctermbg=7 ctermfg=255 cterm=NONE guibg=#808080 guifg=#eeeeee gui=NONE hi PreProc ctermbg=NONE ctermfg=238 cterm=bold guibg=NONE guifg=#474949 gui=bold
hi helpLeadBlank ctermbg=7 ctermfg=255 cterm=NONE guibg=#808080 guifg=#eeeeee gui=NONE hi Include ctermbg=NONE ctermfg=238 cterm=NONE guibg=NONE guifg=#474949 gui=NONE
hi helpNormal ctermbg=7 ctermfg=255 cterm=NONE guibg=#808080 guifg=#eeeeee gui=NONE hi Comment ctermbg=NONE ctermfg=240 cterm=italic guibg=NONE guifg=#5c5d5d gui=italic
hi Visual ctermbg=7 ctermfg=255 cterm=NONE guibg=#808080 guifg=#eeeeee gui=NONE hi SpecialComment ctermbg=NONE ctermfg=244 cterm=italic guibg=NONE guifg=#848585 gui=italic
hi VisualNOS ctermbg=7 ctermfg=255 cterm=NONE guibg=#808080 guifg=#eeeeee gui=NONE hi Todo ctermbg=NONE ctermfg=247 cterm=italic guibg=NONE guifg=#999a9a gui=italic
hi Pmenu ctermbg=7 ctermfg=255 cterm=NONE guibg=#808080 guifg=#eeeeee gui=NONE hi Ignore ctermbg=NONE ctermfg=234 cterm=NONE guibg=NONE guifg=#2a2c2d gui=NONE
hi PmenuSbar ctermbg=7 ctermfg=255 cterm=NONE guibg=#808080 guifg=#eeeeee gui=NONE hi Error ctermbg=NONE ctermfg=196 cterm=bold guibg=NONE guifg=#c74444 gui=bold
hi PmenuSel ctermbg=7 ctermfg=255 cterm=NONE guibg=#808080 guifg=#eeeeee gui=NONE hi Underlined ctermbg=NONE ctermfg=NONE cterm=underline guibg=NONE guifg=NONE gui=underline
hi PmenuThumb ctermbg=7 ctermfg=255 cterm=NONE guibg=#808080 guifg=#eeeeee gui=NONE hi StatusLine ctermbg=238 ctermfg=250 cterm=NONE guibg=#474949 guifg=#adaeae gui=NONE
hi FoldColumn ctermbg=7 ctermfg=255 cterm=NONE guibg=#808080 guifg=#eeeeee gui=NONE hi StatusLineNC ctermbg=238 ctermfg=243 cterm=NONE guibg=#474949 guifg=#707171 gui=NONE
hi Folded ctermbg=7 ctermfg=255 cterm=NONE guibg=#808080 guifg=#eeeeee gui=NONE hi TabLine ctermbg=238 ctermfg=243 cterm=NONE guibg=#474949 guifg=#707171 gui=NONE
hi WildMenu ctermbg=7 ctermfg=255 cterm=NONE guibg=#808080 guifg=#eeeeee gui=NONE hi TabLineFill ctermbg=238 ctermfg=238 cterm=NONE guibg=#474949 guifg=#474949 gui=NONE
hi SpecialKey ctermbg=7 ctermfg=255 cterm=NONE guibg=#808080 guifg=#eeeeee gui=NONE hi TabLineSel ctermbg=238 ctermfg=250 cterm=NONE guibg=#474949 guifg=#adaeae gui=NONE
hi DiffAdd ctermbg=7 ctermfg=255 cterm=NONE guibg=#808080 guifg=#eeeeee gui=NONE hi VertSplit ctermbg=234 ctermfg=238 cterm=NONE guibg=#2a2c2d guifg=#474949 gui=NONE
hi DiffChange ctermbg=7 ctermfg=255 cterm=NONE guibg=#808080 guifg=#eeeeee gui=NONE hi FoldColumn ctermbg=234 ctermfg=238 cterm=NONE guibg=#2a2c2d guifg=#474949 gui=NONE
hi DiffDelete ctermbg=7 ctermfg=255 cterm=NONE guibg=#808080 guifg=#eeeeee gui=NONE hi ColorColumn ctermbg=232 ctermfg=NONE cterm=NONE guibg=#272829 guifg=NONE gui=NONE
hi DiffText ctermbg=7 ctermfg=255 cterm=NONE guibg=#808080 guifg=#eeeeee gui=NONE hi SignColumn ctermbg=234 ctermfg=250 cterm=NONE guibg=#2a2c2d guifg=#adaeae gui=NONE
hi IncSearch ctermbg=7 ctermfg=255 cterm=NONE guibg=#808080 guifg=#eeeeee gui=NONE hi CursorLine ctermbg=232 ctermfg=NONE cterm=NONE guibg=#272829 guifg=NONE gui=NONE
hi Search ctermbg=7 ctermfg=255 cterm=NONE guibg=#808080 guifg=#eeeeee gui=NONE hi Title ctermbg=NONE ctermfg=247 cterm=bold guibg=NONE guifg=#999a9a gui=bold
hi Directory ctermbg=7 ctermfg=255 cterm=NONE guibg=#808080 guifg=#eeeeee gui=NONE hi LineNr ctermbg=234 ctermfg=240 cterm=NONE guibg=#2a2c2d guifg=#5c5d5d gui=NONE
hi MatchParen ctermbg=7 ctermfg=255 cterm=NONE guibg=#808080 guifg=#eeeeee gui=NONE hi CursorLineNr ctermbg=234 ctermfg=244 cterm=NONE guibg=#2a2c2d guifg=#848585 gui=NONE
hi SpellBad ctermbg=7 ctermfg=255 cterm=NONE guibg=#808080 guifg=#eeeeee gui=NONE guisp=#ff0000 hi Pmenu ctermbg=237 ctermfg=244 cterm=NONE guibg=#333535 guifg=#848585 gui=NONE
hi SpellCap ctermbg=7 ctermfg=255 cterm=NONE guibg=#808080 guifg=#eeeeee gui=NONE guisp=#0000ff hi PmenuSbar ctermbg=237 ctermfg=237 cterm=NONE guibg=#333535 guifg=#333535 gui=NONE
hi SpellLocal ctermbg=7 ctermfg=255 cterm=NONE guibg=#808080 guifg=#eeeeee gui=NONE guisp=#ff00ff hi PmenuSel ctermbg=237 ctermfg=250 cterm=bold guibg=#333535 guifg=#adaeae gui=bold
hi SpellRare ctermbg=7 ctermfg=255 cterm=NONE guibg=#808080 guifg=#eeeeee gui=NONE guisp=#00ffff hi PmenuThumb ctermbg=244 ctermfg=244 cterm=NONE guibg=#848585 guifg=#848585 gui=NONE
hi ColorColumn ctermbg=7 ctermfg=255 cterm=NONE guibg=#808080 guifg=#eeeeee gui=NONE hi SpecialKey ctermbg=NONE ctermfg=124 cterm=NONE guibg=NONE guifg=#655757 gui=NONE
hi signColumn ctermbg=7 ctermfg=255 cterm=NONE guibg=#808080 guifg=#eeeeee gui=NONE hi DiffAdd ctermbg=22 ctermfg=NONE cterm=NONE guibg=#202820 guifg=NONE gui=NONE
hi ErrorMsg ctermbg=7 ctermfg=255 cterm=NONE guibg=#808080 guifg=#eeeeee gui=NONE hi DiffChange ctermbg=17 ctermfg=NONE cterm=NONE guibg=#242528 guifg=NONE gui=NONE
hi ModeMsg ctermbg=7 ctermfg=255 cterm=NONE guibg=#808080 guifg=#eeeeee gui=NONE hi DiffDelete ctermbg=52 ctermfg=NONE cterm=NONE guibg=#282020 guifg=NONE gui=NONE
hi MoreMsg ctermbg=7 ctermfg=255 cterm=NONE guibg=#808080 guifg=#eeeeee gui=NONE hi DiffText ctermbg=17 ctermfg=21 cterm=NONE guibg=#242528 guifg=#656a7c gui=NONE
hi Question ctermbg=7 ctermfg=255 cterm=NONE guibg=#808080 guifg=#eeeeee gui=NONE hi IncSearch ctermbg=17 ctermfg=234 cterm=NONE guibg=#93adc2 guifg=#2a2c2d gui=NONE
hi WarningMsg ctermbg=7 ctermfg=255 cterm=NONE guibg=#808080 guifg=#eeeeee gui=NONE hi Search ctermbg=17 ctermfg=250 cterm=NONE guibg=#49535a guifg=#adaeae gui=NONE
hi Cursor ctermbg=7 ctermfg=255 cterm=NONE guibg=#808080 guifg=#eeeeee gui=NONE hi Visual ctermbg=17 ctermfg=NONE cterm=NONE guibg=#384046 guifg=NONE gui=NONE
hi CursorColumn ctermbg=7 ctermfg=255 cterm=NONE guibg=#808080 guifg=#eeeeee gui=NONE hi VisualNOS ctermbg=52 ctermfg=NONE cterm=NONE guibg=#463838 guifg=NONE gui=NONE
hi Directory ctermbg=NONE ctermfg=250 cterm=NONE guibg=NONE guifg=#adaeae gui=NONE
hi MatchParen ctermbg=17 ctermfg=NONE cterm=bold guibg=#49535a guifg=NONE gui=bold
hi SpellBad ctermbg=NONE ctermfg=196 cterm=NONE guibg=NONE guifg=#c74444 gui=NONE guisp=#c74444
hi SpellCap ctermbg=NONE ctermfg=166 cterm=NONE guibg=NONE guifg=#a67038 gui=NONE guisp=#a67038
hi SpellLocal ctermbg=NONE ctermfg=166 cterm=NONE guibg=NONE guifg=#797532 gui=NONE guisp=#a67038
hi SpellRare ctermbg=NONE ctermfg=166 cterm=NONE guibg=NONE guifg=#797532 gui=NONE guisp=#a67038
hi WildMenu ctermbg=238 ctermfg=255 cterm=bold guibg=#474949 guifg=#eeeeee gui=bold
hi ErrorMsg ctermbg=NONE ctermfg=196 cterm=bold guibg=NONE guifg=#c74444 gui=bold
hi ModeMsg ctermbg=NONE ctermfg=255 cterm=bold guibg=NONE guifg=#eeeeee gui=bold
hi MoreMsg ctermbg=NONE ctermfg=255 cterm=NONE guibg=NONE guifg=#eeeeee gui=NONE
hi Question ctermbg=NONE ctermfg=166 cterm=NONE guibg=NONE guifg=#797532 gui=NONE
hi WarningMsg ctermbg=NONE ctermfg=166 cterm=bold guibg=NONE guifg=#a67038 gui=bold
hi EndOfBuffer ctermbg=234 ctermfg=234 cterm=NONE guibg=#2a2c2d guifg=#2a2c2d gui=NONE
hi TabLineNum ctermbg=238 ctermfg=243 cterm=bold guibg=#474949 guifg=#707171 gui=bold
hi TabLineNumSel ctermbg=238 ctermfg=244 cterm=bold guibg=#474949 guifg=#848585 gui=bold
hi StatusLineDivActive ctermbg=243 ctermfg=243 cterm=NONE guibg=#707171 guifg=#707171 gui=NONE
hi StatusLineDivInput ctermbg=17 ctermfg=17 cterm=NONE guibg=#384046 guifg=#384046 gui=NONE
hi StatusLineDivMod ctermbg=124 ctermfg=124 cterm=NONE guibg=#655757 guifg=#655757 gui=NONE
hi StatusLineDivModActive ctermbg=124 ctermfg=124 cterm=NONE guibg=#916c6c guifg=#916c6c gui=NONE
hi StatusLineBufferNrActive ctermbg=238 ctermfg=247 cterm=NONE guibg=#474949 guifg=#999a9a gui=NONE
hi GitGutterDelete ctermbg=NONE ctermfg=124 cterm=bold guibg=NONE guifg=#725454 gui=bold
hi GitGutterChange ctermbg=NONE ctermfg=19 cterm=bold guibg=NONE guifg=#596171 gui=bold
hi GitGutterAdd ctermbg=NONE ctermfg=34 cterm=bold guibg=NONE guifg=#496349 gui=bold
hi GitGutterChangeDelete ctermbg=NONE ctermfg=126 cterm=bold guibg=NONE guifg=#5c4a5a gui=bold
elseif &t_Co == 8 || $TERM !~# '^linux' || &t_Co == 16 elseif &t_Co == 8 || $TERM !~# '^linux' || &t_Co == 16
set t_Co=16 set t_Co=16
hi Normal ctermbg=gray ctermfg=white cterm=NONE hi Normal ctermbg=black ctermfg=gray cterm=NONE
set background=dark set background=dark
hi NonText ctermbg=gray ctermfg=white cterm=NONE hi Special ctermbg=NONE ctermfg=darkred cterm=bold
hi Comment ctermbg=gray ctermfg=white cterm=NONE hi NonText ctermbg=NONE ctermfg=darkred cterm=NONE
hi Constant ctermbg=gray ctermfg=white cterm=NONE hi Tag ctermbg=darkred ctermfg=NONE cterm=NONE
hi Error ctermbg=gray ctermfg=white cterm=NONE hi Identifier ctermbg=NONE ctermfg=darkred cterm=NONE
hi Identifier ctermbg=gray ctermfg=white cterm=NONE hi Function ctermbg=NONE ctermfg=darkred cterm=bold
hi Ignore ctermbg=gray ctermfg=white cterm=NONE hi Type ctermbg=NONE ctermfg=darkred cterm=NONE
hi PreProc ctermbg=gray ctermfg=white cterm=NONE hi StorageClass ctermbg=NONE ctermfg=darkred cterm=bold
hi Special ctermbg=gray ctermfg=white cterm=NONE hi link Structure StorageClass
hi Statement ctermbg=gray ctermfg=white cterm=NONE hi link TypeDef StorageClass
hi String ctermbg=gray ctermfg=white cterm=NONE hi Constant ctermbg=NONE ctermfg=white cterm=italic
hi Number ctermbg=gray ctermfg=white cterm=NONE hi String ctermbg=NONE ctermfg=white cterm=italic
hi Todo ctermbg=gray ctermfg=white cterm=NONE hi link Character String
hi Type ctermbg=gray ctermfg=white cterm=NONE hi link Number String
hi Underlined ctermbg=gray ctermfg=white cterm=NONE hi link Boolean String
hi link Float String
hi Folded ctermbg=NONE ctermfg=white cterm=NONE
hi Statement ctermbg=NONE ctermfg=gray cterm=NONE
hi Conditional ctermbg=NONE ctermfg=darkgray cterm=bold
hi Repeat ctermbg=NONE ctermfg=darkgray cterm=bold
hi Label ctermbg=NONE ctermfg=darkgray cterm=bold
hi Operator ctermbg=NONE ctermfg=gray cterm=bold
hi Keyword ctermbg=NONE ctermfg=white cterm=bold
hi Exception ctermbg=NONE ctermfg=darkred cterm=bold
hi PreProc ctermbg=NONE ctermfg=gray cterm=bold
hi Include ctermbg=NONE ctermfg=gray cterm=NONE
hi Comment ctermbg=NONE ctermfg=gray cterm=italic
hi SpecialComment ctermbg=NONE ctermfg=darkgray cterm=italic
hi Todo ctermbg=NONE ctermfg=darkgray cterm=italic
hi Ignore ctermbg=NONE ctermfg=black cterm=NONE
hi Error ctermbg=NONE ctermfg=red cterm=bold
hi Underlined ctermbg=NONE ctermfg=NONE cterm=underline
hi StatusLine ctermbg=gray ctermfg=white cterm=NONE hi StatusLine ctermbg=gray ctermfg=white cterm=NONE
hi StatusLineNC ctermbg=gray ctermfg=white cterm=NONE hi StatusLineNC ctermbg=gray ctermfg=gray cterm=NONE
hi VertSplit ctermbg=gray ctermfg=white cterm=NONE hi TabLine ctermbg=gray ctermfg=gray cterm=NONE
hi TabLine ctermbg=gray ctermfg=white cterm=NONE hi TabLineFill ctermbg=gray ctermfg=gray cterm=NONE
hi TabLineFill ctermbg=gray ctermfg=white cterm=NONE
hi TabLineSel ctermbg=gray ctermfg=white cterm=NONE hi TabLineSel ctermbg=gray ctermfg=white cterm=NONE
hi Title ctermbg=gray ctermfg=white cterm=NONE hi VertSplit ctermbg=black ctermfg=gray cterm=NONE
hi CursorLine ctermbg=gray ctermfg=white cterm=NONE hi FoldColumn ctermbg=black ctermfg=gray cterm=NONE
hi LineNr ctermbg=gray ctermfg=white cterm=NONE hi ColorColumn ctermbg=gray ctermfg=NONE cterm=NONE
hi CursorLineNr ctermbg=gray ctermfg=white cterm=NONE hi SignColumn ctermbg=black ctermfg=white cterm=NONE
hi helpLeadBlank ctermbg=gray ctermfg=white cterm=NONE hi CursorLine ctermbg=gray ctermfg=NONE cterm=NONE
hi helpNormal ctermbg=gray ctermfg=white cterm=NONE hi Title ctermbg=NONE ctermfg=darkgray cterm=bold
hi Visual ctermbg=gray ctermfg=white cterm=NONE hi LineNr ctermbg=black ctermfg=gray cterm=NONE
hi VisualNOS ctermbg=gray ctermfg=white cterm=NONE hi CursorLineNr ctermbg=black ctermfg=darkgray cterm=NONE
hi Pmenu ctermbg=gray ctermfg=white cterm=NONE hi Pmenu ctermbg=black ctermfg=darkgray cterm=NONE
hi PmenuSbar ctermbg=gray ctermfg=white cterm=NONE hi PmenuSbar ctermbg=black ctermfg=black cterm=NONE
hi PmenuSel ctermbg=gray ctermfg=white cterm=NONE hi PmenuSel ctermbg=black ctermfg=white cterm=bold
hi PmenuThumb ctermbg=gray ctermfg=white cterm=NONE hi PmenuThumb ctermbg=darkgray ctermfg=darkgray cterm=NONE
hi FoldColumn ctermbg=gray ctermfg=white cterm=NONE hi SpecialKey ctermbg=NONE ctermfg=red cterm=NONE
hi Folded ctermbg=gray ctermfg=white cterm=NONE hi DiffAdd ctermbg=darkgreen ctermfg=NONE cterm=NONE
hi WildMenu ctermbg=gray ctermfg=white cterm=NONE hi DiffChange ctermbg=darkblue ctermfg=NONE cterm=NONE
hi SpecialKey ctermbg=gray ctermfg=white cterm=NONE hi DiffDelete ctermbg=darkred ctermfg=NONE cterm=NONE
hi DiffAdd ctermbg=gray ctermfg=white cterm=NONE hi DiffText ctermbg=darkblue ctermfg=white cterm=NONE
hi DiffChange ctermbg=gray ctermfg=white cterm=NONE hi IncSearch ctermbg=darkblue ctermfg=black cterm=NONE
hi DiffDelete ctermbg=gray ctermfg=white cterm=NONE hi Search ctermbg=darkblue ctermfg=white cterm=NONE
hi DiffText ctermbg=gray ctermfg=white cterm=NONE hi Visual ctermbg=darkblue ctermfg=NONE cterm=NONE
hi IncSearch ctermbg=gray ctermfg=white cterm=NONE hi VisualNOS ctermbg=darkred ctermfg=NONE cterm=NONE
hi Search ctermbg=gray ctermfg=white cterm=NONE hi Directory ctermbg=NONE ctermfg=white cterm=NONE
hi Directory ctermbg=gray ctermfg=white cterm=NONE hi MatchParen ctermbg=darkblue ctermfg=NONE cterm=bold
hi MatchParen ctermbg=gray ctermfg=white cterm=NONE hi SpellBad ctermbg=NONE ctermfg=red cterm=NONE
hi SpellBad ctermbg=gray ctermfg=white cterm=NONE hi SpellCap ctermbg=NONE ctermfg=yellow cterm=NONE
hi SpellCap ctermbg=gray ctermfg=white cterm=NONE hi SpellLocal ctermbg=NONE ctermfg=yellow cterm=NONE
hi SpellLocal ctermbg=gray ctermfg=white cterm=NONE hi SpellRare ctermbg=NONE ctermfg=yellow cterm=NONE
hi SpellRare ctermbg=gray ctermfg=white cterm=NONE hi WildMenu ctermbg=gray ctermfg=white cterm=bold
hi ColorColumn ctermbg=gray ctermfg=white cterm=NONE hi ErrorMsg ctermbg=NONE ctermfg=red cterm=bold
hi signColumn ctermbg=gray ctermfg=white cterm=NONE hi ModeMsg ctermbg=NONE ctermfg=white cterm=bold
hi ErrorMsg ctermbg=gray ctermfg=white cterm=NONE hi MoreMsg ctermbg=NONE ctermfg=white cterm=NONE
hi ModeMsg ctermbg=gray ctermfg=white cterm=NONE hi Question ctermbg=NONE ctermfg=yellow cterm=NONE
hi MoreMsg ctermbg=gray ctermfg=white cterm=NONE hi WarningMsg ctermbg=NONE ctermfg=yellow cterm=bold
hi Question ctermbg=gray ctermfg=white cterm=NONE hi EndOfBuffer ctermbg=black ctermfg=black cterm=NONE
hi WarningMsg ctermbg=gray ctermfg=white cterm=NONE hi TabLineNum ctermbg=gray ctermfg=gray cterm=bold
hi Cursor ctermbg=gray ctermfg=white cterm=NONE hi TabLineNumSel ctermbg=gray ctermfg=darkgray cterm=bold
hi CursorColumn ctermbg=gray ctermfg=white cterm=NONE hi StatusLineDivActive ctermbg=gray ctermfg=gray cterm=NONE
hi StatusLineDivInput ctermbg=darkblue ctermfg=darkblue cterm=NONE
hi StatusLineDivMod ctermbg=red ctermfg=red cterm=NONE
hi StatusLineDivModActive ctermbg=red ctermfg=red cterm=NONE
hi StatusLineBufferNrActive ctermbg=gray ctermfg=darkgray cterm=NONE
hi GitGutterDelete ctermbg=NONE ctermfg=red cterm=bold
hi GitGutterChange ctermbg=NONE ctermfg=blue cterm=bold
hi GitGutterAdd ctermbg=NONE ctermfg=green cterm=bold
hi GitGutterChangeDelete ctermbg=NONE ctermfg=magenta cterm=bold
endif endif
" Generated with RNB (https://gist.github.com/romainl/5cd2f4ec222805f49eca)" bar.vim -- Vim color scheme. augroup cursorlinebg
" Author: foo (foo@foo.foo) au!
" Webpage: http://www.example.com au InsertEnter * hi CursorLine ctermbg=232 ctermfg=NONE cterm=NONE guibg=#384046 guifg=NONE gui=NONE
" Description: Lorem ipsum dolor sit amet. au InsertLeave * hi CursorLine ctermbg=232 ctermfg=NONE cterm=NONE guibg=#272829 guifg=NONE gui=NONE
augroup END
hi clear
if exists("syntax_on")
syntax reset
endif
let colors_name = "bar"
if ($TERM =~ '256' || &t_Co >= 256) || has("gui_running")
hi Normal ctermbg=15 ctermfg=8 cterm=NONE guibg=#ffffff guifg=#808080 gui=NONE
set background=light
hi NonText ctermbg=15 ctermfg=8 cterm=NONE guibg=#ffffff guifg=#808080 gui=NONE
hi Comment ctermbg=15 ctermfg=8 cterm=NONE guibg=#ffffff guifg=#808080 gui=NONE
hi Constant ctermbg=15 ctermfg=8 cterm=NONE guibg=#ffffff guifg=#808080 gui=NONE
hi Error ctermbg=15 ctermfg=8 cterm=NONE guibg=#ffffff guifg=#808080 gui=NONE
hi Identifier ctermbg=15 ctermfg=8 cterm=NONE guibg=#ffffff guifg=#808080 gui=NONE
hi Ignore ctermbg=15 ctermfg=8 cterm=NONE guibg=#ffffff guifg=#808080 gui=NONE
hi PreProc ctermbg=15 ctermfg=8 cterm=NONE guibg=#ffffff guifg=#808080 gui=NONE
hi Special ctermbg=15 ctermfg=8 cterm=NONE guibg=#ffffff guifg=#808080 gui=NONE
hi Statement ctermbg=15 ctermfg=8 cterm=NONE guibg=#ffffff guifg=#808080 gui=NONE
hi String ctermbg=15 ctermfg=8 cterm=NONE guibg=#ffffff guifg=#808080 gui=NONE
hi Number ctermbg=15 ctermfg=8 cterm=NONE guibg=#ffffff guifg=#808080 gui=NONE
hi Todo ctermbg=15 ctermfg=8 cterm=NONE guibg=#ffffff guifg=#808080 gui=NONE
hi Type ctermbg=15 ctermfg=8 cterm=NONE guibg=#ffffff guifg=#808080 gui=NONE
hi Underlined ctermbg=15 ctermfg=8 cterm=NONE guibg=#ffffff guifg=#808080 gui=NONE
hi StatusLine ctermbg=15 ctermfg=8 cterm=NONE guibg=#ffffff guifg=#808080 gui=NONE
hi StatusLineNC ctermbg=15 ctermfg=8 cterm=NONE guibg=#ffffff guifg=#808080 gui=NONE
hi VertSplit ctermbg=15 ctermfg=8 cterm=NONE guibg=#ffffff guifg=#808080 gui=NONE
hi TabLine ctermbg=15 ctermfg=8 cterm=NONE guibg=#ffffff guifg=#808080 gui=NONE
hi TabLineFill ctermbg=15 ctermfg=8 cterm=NONE guibg=#ffffff guifg=#808080 gui=NONE
hi TabLineSel ctermbg=15 ctermfg=8 cterm=NONE guibg=#ffffff guifg=#808080 gui=NONE
hi Title ctermbg=15 ctermfg=8 cterm=NONE guibg=#ffffff guifg=#808080 gui=NONE
hi CursorLine ctermbg=15 ctermfg=8 cterm=NONE guibg=#ffffff guifg=#808080 gui=NONE
hi LineNr ctermbg=15 ctermfg=8 cterm=NONE guibg=#ffffff guifg=#808080 gui=NONE
hi CursorLineNr ctermbg=15 ctermfg=8 cterm=NONE guibg=#ffffff guifg=#808080 gui=NONE
hi helpLeadBlank ctermbg=15 ctermfg=8 cterm=NONE guibg=#ffffff guifg=#808080 gui=NONE
hi helpNormal ctermbg=15 ctermfg=8 cterm=NONE guibg=#ffffff guifg=#808080 gui=NONE
hi Visual ctermbg=15 ctermfg=8 cterm=NONE guibg=#ffffff guifg=#808080 gui=NONE
hi VisualNOS ctermbg=15 ctermfg=8 cterm=NONE guibg=#ffffff guifg=#808080 gui=NONE
hi Pmenu ctermbg=15 ctermfg=8 cterm=NONE guibg=#ffffff guifg=#808080 gui=NONE
hi PmenuSbar ctermbg=15 ctermfg=8 cterm=NONE guibg=#ffffff guifg=#808080 gui=NONE
hi PmenuSel ctermbg=15 ctermfg=8 cterm=NONE guibg=#ffffff guifg=#808080 gui=NONE
hi PmenuThumb ctermbg=15 ctermfg=8 cterm=NONE guibg=#ffffff guifg=#808080 gui=NONE
hi FoldColumn ctermbg=15 ctermfg=8 cterm=NONE guibg=#ffffff guifg=#808080 gui=NONE
hi Folded ctermbg=15 ctermfg=8 cterm=NONE guibg=#ffffff guifg=#808080 gui=NONE
hi WildMenu ctermbg=15 ctermfg=8 cterm=NONE guibg=#ffffff guifg=#808080 gui=NONE
hi SpecialKey ctermbg=15 ctermfg=8 cterm=NONE guibg=#ffffff guifg=#808080 gui=NONE
hi DiffAdd ctermbg=15 ctermfg=8 cterm=NONE guibg=#ffffff guifg=#808080 gui=NONE
hi DiffChange ctermbg=15 ctermfg=8 cterm=NONE guibg=#ffffff guifg=#808080 gui=NONE
hi DiffDelete ctermbg=15 ctermfg=8 cterm=NONE guibg=#ffffff guifg=#808080 gui=NONE
hi DiffText ctermbg=15 ctermfg=8 cterm=NONE guibg=#ffffff guifg=#808080 gui=NONE
hi IncSearch ctermbg=15 ctermfg=8 cterm=NONE guibg=#ffffff guifg=#808080 gui=NONE
hi Search ctermbg=15 ctermfg=8 cterm=NONE guibg=#ffffff guifg=#808080 gui=NONE
hi Directory ctermbg=15 ctermfg=8 cterm=NONE guibg=#ffffff guifg=#808080 gui=NONE
hi MatchParen ctermbg=15 ctermfg=8 cterm=NONE guibg=#ffffff guifg=#808080 gui=NONE
hi SpellBad ctermbg=15 ctermfg=8 cterm=NONE guibg=#ffffff guifg=#808080 gui=NONE guisp=#ff0000
hi SpellCap ctermbg=15 ctermfg=8 cterm=NONE guibg=#ffffff guifg=#808080 gui=NONE guisp=#0000ff
hi SpellLocal ctermbg=15 ctermfg=8 cterm=NONE guibg=#ffffff guifg=#808080 gui=NONE guisp=#ff00ff
hi SpellRare ctermbg=15 ctermfg=8 cterm=NONE guibg=#ffffff guifg=#808080 gui=NONE guisp=#00ffff
hi ColorColumn ctermbg=15 ctermfg=8 cterm=NONE guibg=#ffffff guifg=#808080 gui=NONE
hi signColumn ctermbg=15 ctermfg=8 cterm=NONE guibg=#ffffff guifg=#808080 gui=NONE
hi ErrorMsg ctermbg=15 ctermfg=8 cterm=NONE guibg=#ffffff guifg=#808080 gui=NONE
hi ModeMsg ctermbg=15 ctermfg=8 cterm=NONE guibg=#ffffff guifg=#808080 gui=NONE
hi MoreMsg ctermbg=15 ctermfg=8 cterm=NONE guibg=#ffffff guifg=#808080 gui=NONE
hi Question ctermbg=15 ctermfg=8 cterm=NONE guibg=#ffffff guifg=#808080 gui=NONE
hi WarningMsg ctermbg=15 ctermfg=8 cterm=NONE guibg=#ffffff guifg=#808080 gui=NONE
hi Cursor ctermbg=15 ctermfg=8 cterm=NONE guibg=#ffffff guifg=#808080 gui=NONE
hi CursorColumn ctermbg=15 ctermfg=8 cterm=NONE guibg=#ffffff guifg=#808080 gui=NONE
elseif &t_Co == 8 || $TERM !~# '^linux' || &t_Co == 16
set t_Co=16
hi Normal ctermbg=white ctermfg=darkgray cterm=NONE
set background=light
hi NonText ctermbg=white ctermfg=darkgray cterm=NONE
hi Comment ctermbg=white ctermfg=darkgray cterm=NONE
hi Constant ctermbg=white ctermfg=darkgray cterm=NONE
hi Error ctermbg=white ctermfg=darkgray cterm=NONE
hi Identifier ctermbg=white ctermfg=darkgray cterm=NONE
hi Ignore ctermbg=white ctermfg=darkgray cterm=NONE
hi PreProc ctermbg=white ctermfg=darkgray cterm=NONE
hi Special ctermbg=white ctermfg=darkgray cterm=NONE
hi Statement ctermbg=white ctermfg=darkgray cterm=NONE
hi String ctermbg=white ctermfg=darkgray cterm=NONE
hi Number ctermbg=white ctermfg=darkgray cterm=NONE
hi Todo ctermbg=white ctermfg=darkgray cterm=NONE
hi Type ctermbg=white ctermfg=darkgray cterm=NONE
hi Underlined ctermbg=white ctermfg=darkgray cterm=NONE
hi StatusLine ctermbg=white ctermfg=darkgray cterm=NONE
hi StatusLineNC ctermbg=white ctermfg=darkgray cterm=NONE
hi VertSplit ctermbg=white ctermfg=darkgray cterm=NONE
hi TabLine ctermbg=white ctermfg=darkgray cterm=NONE
hi TabLineFill ctermbg=white ctermfg=darkgray cterm=NONE
hi TabLineSel ctermbg=white ctermfg=darkgray cterm=NONE
hi Title ctermbg=white ctermfg=darkgray cterm=NONE
hi CursorLine ctermbg=white ctermfg=darkgray cterm=NONE
hi LineNr ctermbg=white ctermfg=darkgray cterm=NONE
hi CursorLineNr ctermbg=white ctermfg=darkgray cterm=NONE
hi helpLeadBlank ctermbg=white ctermfg=darkgray cterm=NONE
hi helpNormal ctermbg=white ctermfg=darkgray cterm=NONE
hi Visual ctermbg=white ctermfg=darkgray cterm=NONE
hi VisualNOS ctermbg=white ctermfg=darkgray cterm=NONE
hi Pmenu ctermbg=white ctermfg=darkgray cterm=NONE
hi PmenuSbar ctermbg=white ctermfg=darkgray cterm=NONE
hi PmenuSel ctermbg=white ctermfg=darkgray cterm=NONE
hi PmenuThumb ctermbg=white ctermfg=darkgray cterm=NONE
hi FoldColumn ctermbg=white ctermfg=darkgray cterm=NONE
hi Folded ctermbg=white ctermfg=darkgray cterm=NONE
hi WildMenu ctermbg=white ctermfg=darkgray cterm=NONE
hi SpecialKey ctermbg=white ctermfg=darkgray cterm=NONE
hi DiffAdd ctermbg=white ctermfg=darkgray cterm=NONE
hi DiffChange ctermbg=white ctermfg=darkgray cterm=NONE
hi DiffDelete ctermbg=white ctermfg=darkgray cterm=NONE
hi DiffText ctermbg=white ctermfg=darkgray cterm=NONE
hi IncSearch ctermbg=white ctermfg=darkgray cterm=NONE
hi Search ctermbg=white ctermfg=darkgray cterm=NONE
hi Directory ctermbg=white ctermfg=darkgray cterm=NONE
hi MatchParen ctermbg=white ctermfg=darkgray cterm=NONE
hi SpellBad ctermbg=white ctermfg=darkgray cterm=NONE
hi SpellCap ctermbg=white ctermfg=darkgray cterm=NONE
hi SpellLocal ctermbg=white ctermfg=darkgray cterm=NONE
hi SpellRare ctermbg=white ctermfg=darkgray cterm=NONE
hi ColorColumn ctermbg=white ctermfg=darkgray cterm=NONE
hi signColumn ctermbg=white ctermfg=darkgray cterm=NONE
hi ErrorMsg ctermbg=white ctermfg=darkgray cterm=NONE
hi ModeMsg ctermbg=white ctermfg=darkgray cterm=NONE
hi MoreMsg ctermbg=white ctermfg=darkgray cterm=NONE
hi Question ctermbg=white ctermfg=darkgray cterm=NONE
hi WarningMsg ctermbg=white ctermfg=darkgray cterm=NONE
hi Cursor ctermbg=white ctermfg=darkgray cterm=NONE
hi CursorColumn ctermbg=white ctermfg=darkgray cterm=NONE
endif
" Generated with RNB (https://gist.github.com/romainl/5cd2f4ec222805f49eca)

2
vim/ftplugin/eruby.vim Normal file
View File

@ -0,0 +1,2 @@
nnoremap <buffer> <F5> :call ft#compileeruby#CompileEruby(0)<CR>
nnoremap <buffer> <F6> :call ft#compileeruby#CompileEruby(1)<CR>

179
vim/syntax/cst.vim Normal file
View File

@ -0,0 +1,179 @@
" Vim syntax file
" Language: cst
" Maintainer: Thomas R. Kimpton <tkimpton@gooberdude.com>
" URL: http://www.gooberdude.com/~tkimpton/vim/syntax/cst.vim
" Last Change: 5/14/2003
" Remark: Used to test color schemes: edit your color scheme file, and
" to see what each color assignment does, set the color scheme to your color
" scheme then type the command ':setf cst'. As you continue to make changes
" save your changes, and switch to another color scheme and back to your own
" to see changes.
" Quit when a syntax file was already loaded
if !exists("main_syntax")
if version < 600
syntax clear
elseif exists("b:current_syntax")
finish
endif
" we define it here so that included files can test for it
let main_syntax='cst'
endif
" don't use standard HiLink, it will not work with included syntax files
if version < 508
command! -nargs=+ CSTHiLink hi link <args>
else
command! -nargs=+ CSTHiLink hi def link <args>
endif
syntax case ignore
" match definitions
syn match CSTSpecialKey /\<SpecialKey\>/
syn match CSTNonText /\<NonText\>/
syn match CSTDirectory /\<Directory\>/
syn match CSTErrorMsg /\<ErrorMsg\>/
syn match CSTIncSearch /\<IncSearch\>/
syn match CSTSearch /\<Search\>/
syn match CSTMoreMsg /\<MoreMsg\>/
syn match CSTModeMsg /\<ModeMsg\>/
syn match CSTLineNr /\<LineNr\>/
syn match CSTQuestion /\<Question\>/
syn match CSTStatusLineNC /\<StatusLineNC\>/
syn match CSTStatusLine /\<StatusLine\>/
syn match CSTVertSplit /\<VertSplit\>/
syn match CSTTitle /\<Title\>/
syn match CSTVisualNOS /\<VisualNOS\>/
syn match CSTVisual /\<Visual\>/
syn match CSTWarningMsg /\<WarningMsg\>/
syn match CSTWildMenu /\<WildMenu\>/
syn match CSTFolded /\<Folded\>/
syn match CSTFoldColumn /\<FoldColumn\>/
syn match CSTSignColumn /\<SignColumn\>/
syn match CSTDiffAdd /\<DiffAdd\>/
syn match CSTDiffChange /\<DiffChange\>/
syn match CSTDiffDelete /\<DiffDelete\>/
syn match CSTDiffText /\<DiffText\>/
syn match CSTCursor /\<Cursor\>/
syn match CSTComment /\<Comment\>/
syn match CSTConstant /\<Constant\>/
syn match CSTString /\<String\>/
syn match CSTCharacter /\<Character\>/
syn match CSTNumber /\<Number\>/
syn match CSTBoolean /\<Boolean\>/
syn match CSTFloat /\<Float\>/
syn match CSTIdentifier /\<Identifier\>/
syn match CSTFunction /\<Function\>/
syn match CSTStatement /\<Statement\>/
syn match CSTConditional /\<Conditional\>/
syn match CSTRepeat /\<Repeat\>/
syn match CSTLabel /\<Label\>/
syn match CSTOperator /\<Operator\>/
syn match CSTKeyword /\<Keyword\>/
syn match CSTException /\<Exception\>/
syn match CSTPreProc /\<PreProc\>/
syn match CSTInclude /\<Include\>/
syn match CSTDefine /\<Define\>/
syn match CSTMacro /\<Macro\>/
syn match CSTPreCondit /\<PreCondit\>/
syn match CSTType /\<Type\>/
syn match CSTStorageClass /\<StorageClass\>/
syn match CSTStructure /\<Structure\>/
syn match CSTTypeDef /\<TypeDef\>/
syn match CSTSpecial /\<Special\>/
syn match CSTSpecialChar /\<SpecialChar\>/
syn match CSTTag /\<Tag\>/
syn match CSTDelimiter /\<Delimiter\>/
syn match CSTSpecialComment /\<SpecialComment\>/
syn match CSTDebug /\<Debug\>/
syn match CSTUnderlined /\<Underlined\>/
syn match CSTIgnore /\<Ignore\>/
syn match CSTError /\<Error\>/
syn match CSTSpellBad /\<SpellBad\>/
syn match CSTSpellCap /\<SpellCap\>/
syn match CSTSpellLocal /\<SpellLocal\>/
syn match CSTSpellRare /\<SpellRare\>/
syn match CSTTodo /\<Todo\>/
" The default highlighting.
if version >= 508 || !exists("did_CST_syn_inits")
if version < 508
let did_CST_syn_inits = 1
endif
CSTHiLink CSTSpecialKey SpecialKey
CSTHiLink CSTNonText NonText
CSTHiLink CSTDirectory Directory
CSTHiLink CSTErrorMsg ErrorMsg
CSTHiLink CSTIncSearch IncSearch
CSTHiLink CSTSearch Search
CSTHiLink CSTMoreMsg MoreMsg
CSTHiLink CSTModeMsg ModeMsg
CSTHiLink CSTLineNr LineNr
CSTHiLink CSTQuestion Question
CSTHiLink CSTStatusLineNC StatusLineNC
CSTHiLink CSTStatusLine StatusLine
CSTHiLink CSTVertSplit VertSplit
CSTHiLink CSTTitle Title
CSTHiLink CSTVisualNOS VisualNOS
CSTHiLink CSTVisual Visual
CSTHiLink CSTWarningMsg WarningMsg
CSTHiLink CSTWildMenu WildMenu
CSTHiLink CSTFolded Folded
CSTHiLink CSTFoldColumn FoldColumn
CSTHiLink CSTSignColumn SignColumn
CSTHiLink CSTDiffAdd DiffAdd
CSTHiLink CSTDiffChange DiffChange
CSTHiLink CSTDiffDelete DiffDelete
CSTHiLink CSTDiffText DiffText
CSTHiLink CSTCursor Cursor
CSTHiLink CSTComment Comment
CSTHiLink CSTConstant Constant
CSTHiLink CSTString String
CSTHiLink CSTCharacter Character
CSTHiLink CSTNumber Number
CSTHiLink CSTBoolean Boolean
CSTHiLink CSTFloat Float
CSTHiLink CSTIdentifier Identifier
CSTHiLink CSTFunction Function
CSTHiLink CSTStatement Statement
CSTHiLink CSTConditional Conditional
CSTHiLink CSTRepeat Repeat
CSTHiLink CSTLabel Label
CSTHiLink CSTOperator Operator
CSTHiLink CSTKeyword Keyword
CSTHiLink CSTException Exception
CSTHiLink CSTPreProc PreProc
CSTHiLink CSTInclude Include
CSTHiLink CSTDefine Define
CSTHiLink CSTMacro Macro
CSTHiLink CSTPreCondit PreCondit
CSTHiLink CSTType Type
CSTHiLink CSTStorageClass StorageClass
CSTHiLink CSTStructure Structure
CSTHiLink CSTTypedef Typedef
CSTHiLink CSTSpecial Special
CSTHiLink CSTSpecialChar SpecialChar
CSTHiLink CSTTag Tag
CSTHiLink CSTDelimiter Delimiter
CSTHiLink CSTSpecialComment SpecialComment
CSTHiLink CSTDebug Debug
CSTHiLink CSTUnderlined Underlined
CSTHiLink CSTIgnore Ignore
CSTHiLink CSTError Error
CSTHiLink CSTSpellBad SpellBad
CSTHiLink CSTSpellCap SpellCap
CSTHiLink CSTSpellLocal SpellLocal
CSTHiLink CSTSpellRare SpellRare
CSTHiLink CSTTodo Todo
endif
delcommand CSTHiLink
let b:current_syntax = "cst"
if main_syntax == 'cst'
unlet main_syntax
endif
" vim: set filetype=cst: