friffle.vim (4968B) - raw


      1 :" Vim color file
      2 " friffle
      3 " Created by ChausseBenjamin with ThemeCreator (https://github.com/mswift42/themecreator)
      4 
      5 hi clear
      6 
      7 if exists("syntax on")
      8 syntax reset
      9 endif
     10 
     11 set t_Co=256
     12 let g:colors_name = "friffle"
     13 
     14 " Define reusable colorvariables.
     15 let s:bg="#222d32"
     16 let s:fg="#19B596"
     17 let s:fg2="#17a78a"
     18 let s:fg3="#15987e"
     19 let s:fg4="#138a72"
     20 let s:bg2="#343e42"
     21 let s:bg3="#454f53"
     22 let s:bg4="#575f63"
     23 let s:keyword="#66aabb"
     24 let s:builtin="#B7416E"
     25 let s:const= "#E84F4F"
     26 let s:comment="#42717B"
     27 let s:func="#AACCBB"
     28 let s:str="#EBCB88"
     29 let s:type="#AE545A"
     30 let s:var="#6D878D"
     31 let s:warning="#F07746"
     32 let s:warning2="#D23D3D"
     33 
     34 exe 'hi Normal guifg='s:fg' guibg=NONE'
     35 exe 'hi Conceal guifg='s:fg' guibg=NONE'
     36 exe 'hi Cursor guifg='s:bg' guibg='s:fg
     37 exe 'hi CursorLine  guibg='s:bg2
     38 exe 'hi CursorLineNr guifg='s:keyword' guibg=NONE'
     39 exe 'hi CursorColumn  guibg='s:bg2
     40 exe 'hi ColorColumn  guibg='s:bg2
     41 exe 'hi LineNr guifg='s:comment' guibg=NONE'
     42 exe 'hi VertSplit guifg='s:bg' guibg=NONE gui=bold'
     43 exe 'hi foldcolumn guibg='s:bg
     44 exe 'hi MatchParen guifg='s:str'  guibg='s:fg4' gui=bold'
     45 exe 'hi StatusLine guifg='s:fg2' guibg='s:bg3' gui=bold'
     46 exe 'hi Pmenu guifg='s:fg' guibg='s:bg2
     47 exe 'hi PmenuSel  guibg='s:bg3
     48 exe 'hi IncSearch guifg='s:bg' guibg='s:keyword
     49 exe 'hi Search   guibg='s:str' guifg='s:bg
     50 exe 'hi Directory guifg='s:const
     51 exe 'hi Folded guifg='s:const' guibg=NONE'
     52 exe 'hi Folded guifg='s:fg3' guibg='s:bg
     53 exe 'hi WildMenu guifg='s:str' guibg='s:bg
     54 exe 'hi Todo guibg='s:bg
     55 
     56 exe 'hi Boolean guifg='s:const
     57 exe 'hi Character guifg='s:const
     58 exe 'hi Comment guifg='s:comment
     59 exe 'hi Conditional guifg='s:keyword
     60 exe 'hi Constant guifg='s:const
     61 exe 'hi Define guifg='s:keyword
     62 exe 'hi DiffAdd guifg=#fafafa guibg=#123d0f gui=bold'
     63 exe 'hi DiffDelete guibg='s:bg2
     64 exe 'hi DiffChange  guibg=#151b3c guifg=#fafafa'
     65 exe 'hi DiffText guifg=#ffffff guibg=#ff0000 gui=bold'
     66 exe 'hi ErrorMsg guifg='s:warning' guibg='s:bg2' gui=bold'
     67 exe 'hi WarningMsg guifg='s:bg' guibg='s:const
     68 exe 'hi Float guifg='s:const
     69 exe 'hi Function guifg='s:func
     70 exe 'hi Identifier guifg='s:type'  gui=italic'
     71 exe 'hi Keyword guifg='s:keyword'  gui=bold'
     72 exe 'hi Label guifg='s:var
     73 exe 'hi NonText guifg='s:bg4' guibg=NONE'
     74 exe 'hi Number guifg='s:const
     75 exe 'hi Operater guifg='s:keyword
     76 exe 'hi PreProc guifg='s:keyword
     77 exe 'hi Special guifg='s:fg
     78 exe 'hi SpecialKey guifg='s:fg2' guibg='s:bg2
     79 exe 'hi Statement guifg='s:keyword
     80 exe 'hi StorageClass guifg='s:type'  gui=italic'
     81 exe 'hi String guifg='s:str
     82 exe 'hi Tag guifg='s:keyword
     83 exe 'hi Title guifg='s:fg'  gui=bold'
     84 exe 'hi Todo guifg='s:fg2'  gui=inverse,bold'
     85 exe 'hi Type guifg='s:type
     86 exe 'hi Underlined   gui=underline'
     87 
     88 " Neovim Terminal Mode
     89 let g:terminal_color_0 = s:bg
     90 let g:terminal_color_1 = s:warning
     91 let g:terminal_color_2 = s:keyword
     92 let g:terminal_color_3 = s:bg4
     93 let g:terminal_color_4 = s:func
     94 let g:terminal_color_5 = s:builtin
     95 let g:terminal_color_6 = s:fg3
     96 let g:terminal_color_7 = s:str
     97 let g:terminal_color_8 = s:bg2
     98 let g:terminal_color_9 = s:warning2
     99 let g:terminal_color_10 = s:fg2
    100 let g:terminal_color_11 = s:var
    101 let g:terminal_color_12 = s:type
    102 let g:terminal_color_13 = s:const
    103 let g:terminal_color_14 = s:fg4
    104 let g:terminal_color_15 = s:comment
    105 
    106 " Ruby Highlighting
    107 exe 'hi rubyAttribute guifg='s:builtin
    108 exe 'hi rubyLocalVariableOrMethod guifg='s:var
    109 exe 'hi rubyGlobalVariable guifg='s:var' gui=italic'
    110 exe 'hi rubyInstanceVariable guifg='s:var
    111 exe 'hi rubyKeyword guifg='s:keyword
    112 exe 'hi rubyKeywordAsMethod guifg='s:keyword' gui=bold'
    113 exe 'hi rubyClassDeclaration guifg='s:keyword' gui=bold'
    114 exe 'hi rubyClass guifg='s:keyword' gui=bold'
    115 exe 'hi rubyNumber guifg='s:const
    116 
    117 " Python Highlighting
    118 exe 'hi pythonBuiltinFunc guifg='s:builtin
    119 
    120 " Tex Highlighting
    121 exe 'hi texBuiltinFunc guifg='s:builtin
    122 
    123 " Go Highlighting
    124 exe 'hi goBuiltins guifg='s:builtin
    125 let g:go_highlight_array_whitespace_error = 1
    126 let g:go_highlight_build_constraints      = 1
    127 let g:go_highlight_chan_whitespace_error  = 1
    128 let g:go_highlight_extra_types            = 1
    129 let g:go_highlight_fields                 = 1
    130 let g:go_highlight_format_strings         = 1
    131 let g:go_highlight_function_calls         = 1
    132 let g:go_highlight_function_parameters    = 1
    133 let g:go_highlight_functions              = 1
    134 let g:go_highlight_generate_tags          = 1
    135 let g:go_highlight_operators              = 1
    136 let g:go_highlight_space_tab_error        = 1
    137 let g:go_highlight_string_spellcheck      = 1
    138 let g:go_highlight_types                  = 1
    139 let g:go_highlight_variable_assignments   = 1
    140 let g:go_highlight_variable_declarations  = 1
    141 
    142 " Javascript Highlighting
    143 exe 'hi jsBuiltins guifg='s:builtin
    144 exe 'hi jsFunction guifg='s:keyword' gui=bold'
    145 exe 'hi jsGlobalObjects guifg='s:type
    146 exe 'hi jsAssignmentExps guifg='s:var
    147 
    148 " Html Highlighting
    149 exe 'hi htmlLink guifg='s:var' gui=underline'
    150 exe 'hi htmlStatement guifg='s:keyword
    151 exe 'hi htmlSpecialTagName guifg='s:keyword
    152 
    153 " Markdown Highlighting
    154 exe 'hi mkdCode guifg='s:builtin
    155