dotfiles

My personal shell configs and stuff
git clone git://git.alex.balgavy.eu/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

junipero.vim (8777B)


      1 set background=dark
      2 if version > 580
      3   highlight clear
      4   if exists("syntax_on")
      5     syntax reset
      6   endif
      7 endif
      8 let g:colors_name = "junipero"
      9 "ANSI colors for :terminal
     10 let g:terminal_ansi_colors = ["#01021e", "#185668", "#cb4e62", "#f59970", "#e1bf78", "#557983", "#4dbba3", "#f3edc5", "#aaa589", "#185668", "#cb4e62", "#f59970", "#e1bf78", "#557983", "#4dbba3", "#f3edc5"]
     11 " Highlight group definitions
     12 hi Boolean guifg=#fca8ad guibg=NONE ctermfg=217 ctermbg=NONE cterm=NONE gui=NONE
     13 hi Comment guifg=#349d58 guibg=#11121A ctermfg=71 ctermbg=0 cterm=italic gui=italic
     14 hi Conditional guifg=#d0688d guibg=#11121A ctermfg=168 ctermbg=0 cterm=NONE gui=NONE
     15 hi Constant guifg=#5c78f0 guibg=NONE ctermfg=69 ctermbg=NONE cterm=NONE gui=NONE
     16 hi Cursor guifg=#0000aa guibg=#aab5a0 ctermfg=19 ctermbg=145 cterm=NONE gui=NONE
     17 hi CursorLinenr guifg=#ffb500 guibg=#101124 ctermfg=214 ctermbg=0 cterm=bold gui=bold
     18 hi Cursorline guifg=NONE guibg=#222222 ctermfg=NONE ctermbg=234 cterm=NONE gui=NONE
     19 hi Delimiter guifg=#aaaaca guibg=NONE ctermfg=146 ctermbg=NONE cterm=NONE gui=NONE
     20 hi DiffAdd guifg=#e0e3e3 guibg=#003802 ctermfg=188 ctermbg=22 cterm=NONE gui=NONE
     21 hi DiffChange guifg=#fcfcfc guibg=#2e032e ctermfg=15 ctermbg=0 cterm=NONE gui=NONE
     22 hi DiffDelete guifg=#300845 guibg=#200845 ctermfg=53 ctermbg=17 cterm=NONE gui=NONE
     23 hi DiffText guifg=#f5f5f5 guibg=#423f00 ctermfg=15 ctermbg=58 cterm=NONE gui=NONE
     24 hi Directory guifg=#bbd0df guibg=NONE ctermfg=152 ctermbg=NONE cterm=NONE gui=NONE
     25 hi Error guifg=NONE guibg=#b03452 ctermfg=NONE ctermbg=131 cterm=NONE gui=NONE
     26 hi ErrorMsg guifg=#f0e2e2 guibg=#ff4545 ctermfg=224 ctermbg=203 cterm=NONE gui=NONE
     27 hi Exception guifg=#d0a8ad guibg=#11121A ctermfg=181 ctermbg=0 cterm=bold gui=bold
     28 hi Float guifg=#4580b4 guibg=NONE ctermfg=67 ctermbg=NONE cterm=NONE gui=NONE
     29 hi FoldColumn guifg=#dbcaa5 guibg=#0a0a18 ctermfg=187 ctermbg=0 cterm=NONE gui=NONE
     30 hi Folded guifg=#bebebe guibg=#171235 ctermfg=250 ctermbg=17 cterm=NONE gui=NONE
     31 hi Function guifg=#f9c60e guibg=#11121A ctermfg=220 ctermbg=0 cterm=bold gui=bold
     32 hi Identifier guifg=#5094c4 guibg=NONE ctermfg=68 ctermbg=NONE cterm=NONE gui=NONE
     33 hi Ignore guifg=#666666 guibg=NONE ctermfg=241 ctermbg=NONE cterm=NONE gui=NONE
     34 hi IncSearch guifg=#babeaa guibg=#cc4545 ctermfg=145 ctermbg=167 cterm=bold,underline gui=bold,underline
     35 hi Include guifg=#ba75cf guibg=NONE ctermfg=140 ctermbg=NONE cterm=NONE gui=NONE
     36 hi Keyword guifg=#bebebe guibg=#11121A ctermfg=250 ctermbg=0 cterm=bold gui=bold
     37 hi LineNr guifg=#2069a9 guibg=#101124 ctermfg=25 ctermbg=0 cterm=NONE gui=NONE
     38 hi MatchParen guifg=#001122 guibg=#7b5a55 ctermfg=0 ctermbg=95 cterm=NONE gui=NONE
     39 hi ModeMsg guifg=#00AACC guibg=NONE ctermfg=38 ctermbg=NONE cterm=NONE gui=NONE
     40 hi MoreMsg guifg=#2e8b57 guibg=NONE ctermfg=29 ctermbg=NONE cterm=NONE gui=NONE
     41 hi NonText guifg=#382920 guibg=#11121A ctermfg=1 ctermbg=0 cterm=NONE gui=NONE
     42 hi Normal guifg=#838383 guibg=#11121A ctermfg=244 ctermbg=0 cterm=NONE gui=NONE
     43 hi StatusLineFile guifg=#ff8f00 guibg=NONE ctermfg=208 ctermbg=NONE cterm=NONE gui=NONE
     44 hi StatusLineNormMode guifg=#666fff guibg=NONE ctermfg=12 ctermbg=NONE cterm=NONE gui=NONE
     45 hi Number guifg=#339aff guibg=NONE ctermfg=12 ctermbg=NONE cterm=NONE gui=NONE
     46 hi Operator guifg=#e8cdc0 guibg=#11121A ctermfg=187 ctermbg=0 cterm=NONE gui=NONE
     47 hi Pmenu guifg=#bdbdbd guibg=#915623 ctermfg=250 ctermbg=94 cterm=NONE gui=NONE
     48 hi PmenuSbar guifg=NONE guibg=#0000ff ctermfg=NONE ctermbg=21 cterm=NONE gui=NONE
     49 hi PmenuSel guifg=#f0e0b2 guibg=#4a85ba ctermfg=223 ctermbg=67 cterm=NONE gui=NONE
     50 hi PmenuThumb guifg=NONE guibg=#000000 ctermfg=NONE ctermbg=0 cterm=NONE gui=NONE
     51 hi PreProc guifg=#ae15eb guibg=NONE ctermfg=5 ctermbg=NONE cterm=NONE gui=NONE
     52 hi Question guifg=#AABBCC guibg=#130445 ctermfg=146 ctermbg=17 cterm=NONE gui=NONE
     53 hi Repeat guifg=#e06070 guibg=#11121A ctermfg=167 ctermbg=0 cterm=NONE gui=NONE
     54 hi Search guifg=#1dd3d6 guibg=#6b5469 ctermfg=6 ctermbg=59 cterm=NONE gui=NONE
     55 hi SpecialKey guifg=#90dcb0 guibg=NONE ctermfg=115 ctermbg=NONE cterm=NONE gui=NONE
     56 hi Statement guifg=#ff6c11 guibg=NONE ctermfg=202 ctermbg=NONE cterm=NONE gui=NONE
     57 hi StatusLine guifg=#4079a9 guibg=#101130 ctermfg=67 ctermbg=17 cterm=bold gui=bold
     58 hi String guifg=#1dd3d6 guibg=NONE ctermfg=6 ctermbg=NONE cterm=italic gui=italic
     59 hi Structure guifg=#0490e8 guibg=NONE ctermfg=32 ctermbg=NONE cterm=bold gui=bold
     60 hi TabLineSel guifg=#6079c9 guibg=#363649 ctermfg=68 ctermbg=59 cterm=NONE gui=NONE
     61 hi Title guifg=#fff7fa guibg=NONE ctermfg=15 ctermbg=NONE cterm=NONE gui=NONE
     62 hi Todo guifg=#ffd500 guibg=#5c0d43 ctermfg=220 ctermbg=53 cterm=NONE gui=NONE
     63 hi Type guifg=#ff3863 guibg=NONE ctermfg=203 ctermbg=NONE cterm=bold gui=bold
     64 hi Underlined guifg=#bac5ba guibg=NONE ctermfg=151 ctermbg=NONE cterm=NONE gui=NONE
     65 hi VertSplit guifg=#223355 guibg=#22253c ctermfg=23 ctermbg=17 cterm=NONE gui=NONE
     66 hi Visual guifg=#102030 guibg=#80a0f0 ctermfg=17 ctermbg=111 cterm=NONE gui=NONE
     67 hi VisualNOS guifg=#201a30 guibg=#a3a5FF ctermfg=17 ctermbg=147 cterm=NONE gui=NONE
     68 hi WarningMsg guifg=#fa8072 guibg=NONE ctermfg=209 ctermbg=NONE cterm=NONE gui=NONE
     69 hi WildMenu guifg=#000000 guibg=#804000 ctermfg=0 ctermbg=94 cterm=NONE gui=NONE
     70 hi GitGutterAdd guifg=#007822 guibg=#101124 ctermfg=28 ctermbg=0 cterm=NONE gui=NONE
     71 hi GitGutterChange guifg=#8e830e guibg=#101124 ctermfg=100 ctermbg=0 cterm=NONE gui=NONE
     72 hi GitGutterDelete guifg=#6e032e guibg=#101124 ctermfg=52 ctermbg=0 cterm=NONE gui=NONE
     73 hi GitGutterChangeDelete guifg=#80537e guibg=#101124 ctermfg=96 ctermbg=0 cterm=NONE gui=NONE
     74 hi NormalFloat guifg=#838383 guibg=#1a1a33 ctermfg=244 ctermbg=17 cterm=NONE gui=NONE
     75 " Link definitions
     76 hi! link PreCondit Include
     77 hi! link Tag Delimiter
     78 hi! link Define Include
     79 hi! link MkdLink Type
     80 hi! link Typedef Structure
     81 hi! link VimwikiLink Constant
     82 hi! link SignColumn LineNr
     83 hi! link Macro Include
     84 hi! link SpellLocal String
     85 hi! link TabLine LineNr
     86 hi! link Character Constant
     87 hi! link Debug Delimiter
     88 hi! link SpellCap String
     89 hi! link Special Delimiter
     90 hi! link TabLineFill LineNr
     91 hi! link SpellRare String
     92 hi! link Label Structure
     93 hi! link StatusLineNC LineNr
     94 hi! link adaBegin Function
     95 hi! link StorageClass Structure
     96 hi! link SpecialComment Delimiter
     97 hi! link markdownCode SpecialComment
     98 hi! link NetrwExe Title
     99 hi! link adaEnd Function
    100 hi! link ConId Constant
    101 hi! link LineHighlight VisualNOS
    102 hi! link SpellBad Todo
    103 hi! link netrwDir LineNr
    104 hi! link SpecialChar Delimiter
    105 " Code to clear any groups that are not defined
    106 let s:DefinedColors=['precondit', 'tag', 'define', 'mkdlink', 'typedef', 'vimwikilink', 'signcolumn', 'macro', 'spelllocal', 'tabline', 'character', 'debug', 'spellcap', 'special', 'tablinefill', 'spellrare', 'label', 'statuslinenc', 'adabegin', 'storageclass', 'specialcomment', 'markdowncode', 'netrwexe', 'adaend', 'conid', 'linehighlight', 'spellbad', 'netrwdir', 'specialchar', 'boolean', 'comment', 'conditional', 'constant', 'cursor', 'cursorlinenr', 'cursorline', 'delimiter', 'diffadd', 'diffchange', 'diffdelete', 'difftext', 'directory', 'error', 'errormsg', 'exception', 'float', 'foldcolumn', 'folded', 'function', 'identifier', 'ignore', 'incsearch', 'include', 'keyword', 'linenr', 'matchparen', 'modemsg', 'moremsg', 'nontext', 'normal', 'statuslinefile', 'statuslinenormmode', 'number', 'operator', 'pmenu', 'pmenusbar', 'pmenusel', 'pmenuthumb', 'preproc', 'question', 'repeat', 'search', 'specialkey', 'statement', 'statusline', 'string', 'structure', 'tablinesel', 'title', 'todo', 'type', 'underlined', 'vertsplit', 'visual', 'visualnos', 'warningmsg', 'wildmenu', 'gitgutteradd', 'gitgutterchange', 'gitgutterdelete', 'gitgutterchangedelete', 'normalfloat']
    107 function! s:ClearUndefinedColors(colors)
    108   let undefined_groups = filter(a:colors->keys()->map('tolower(v:val)'), 'index(s:DefinedColors, tolower(v:val)) < 0')
    109   call map(undefined_groups, "execute('highlight' . ' ' . v:val . ' ' . 'NONE')")
    110 endfunction
    111 function! s:GetHighlights()
    112   let highlights  = execute('highlight')
    113   let highlights  = substitute(highlights, '\n\s\+', ' ', 'g')
    114   let highlights  = split(highlights, '\n')
    115   call map(highlights, "split(v:val, '\\s\\+xxx\\s\\+')")
    116   call map(highlights, "[copy(v:val)[0], split(copy(v:val)[1])]")
    117   return highlights
    118 endfunction
    119 function! s:GetColors()
    120   let colors = {}
    121   for [group, values] in <SID>GetHighlights()
    122     let attributes = {}
    123     if values[0] ==# 'links'
    124       let attributes['links'] = values[-1]
    125     elseif values[0] !=# 'cleared'
    126       call map(values, "split(v:val, '=')")
    127       call map(values, "len(v:val) == 2 ? {v:val[0]: v:val[1]} : {v:val[0] : v:val[0]}")
    128       call map(values, "extend(attributes, v:val)")
    129     endif
    130     let colors[group] = attributes
    131   endfor
    132   return colors
    133 endfunction
    134 call <SID>ClearUndefinedColors(<SID>GetColors())