Use '' not "" in fresh colorscheme
This commit is contained in:
parent
090ffcbcc8
commit
b0c7eafb4a
206
colors/fresh.vim
206
colors/fresh.vim
@ -1,10 +1,10 @@
|
|||||||
set background=dark
|
set background=dark
|
||||||
if exists("syntax_on")
|
if exists('syntax_on')
|
||||||
syntax reset
|
syntax reset
|
||||||
endif
|
endif
|
||||||
let g:colors_name="fresh"
|
let g:colors_name='fresh'
|
||||||
|
|
||||||
if has("gui_running") || &t_Co == 256
|
if has('gui_running') || &t_Co == 256
|
||||||
"" Colors {{{
|
"" Colors {{{
|
||||||
let s:color_map = {
|
let s:color_map = {
|
||||||
\ '0': '#000000', '1': '#800000', '2': '#008000', '3': '#808000',
|
\ '0': '#000000', '1': '#800000', '2': '#008000', '3': '#808000',
|
||||||
@ -76,126 +76,126 @@ if has("gui_running") || &t_Co == 256
|
|||||||
|
|
||||||
"" Functions {{{
|
"" Functions {{{
|
||||||
function! s:hi(group, fg, bg, attr)
|
function! s:hi(group, fg, bg, attr)
|
||||||
exec "hi clear ".a:group
|
exec 'hi clear '.a:group
|
||||||
if a:fg != ""
|
if a:fg !=# ''
|
||||||
exec "hi ".a:group." ctermfg=".a:fg." guifg="s:color_map[a:fg]
|
exec 'hi '.a:group.' ctermfg='.a:fg.' guifg='s:color_map[a:fg]
|
||||||
endif
|
endif
|
||||||
if a:bg != ""
|
if a:bg !=# ''
|
||||||
exec "hi ".a:group." ctermbg=".a:bg." guibg=".s:color_map[a:bg]
|
exec 'hi '.a:group.' ctermbg='.a:bg.' guibg='.s:color_map[a:bg]
|
||||||
endif
|
endif
|
||||||
if a:attr != ""
|
if a:attr !=# ''
|
||||||
exec "hi ".a:group." cterm=".a:attr." gui=".a:attr
|
exec 'hi '.a:group.' cterm='.a:attr.' gui='.a:attr
|
||||||
endif
|
endif
|
||||||
endfunction
|
endfunction
|
||||||
"" }}}
|
"" }}}
|
||||||
|
|
||||||
"" Highlight Groups {{{
|
"" Highlight Groups {{{
|
||||||
call s:hi("ColorColumn", "", "", "")
|
call s:hi('ColorColumn', '', '', '')
|
||||||
call s:hi("Conceal", "", "", "")
|
call s:hi('Conceal', '', '', '')
|
||||||
call s:hi("Cursor", "", "", "reverse")
|
call s:hi('Cursor', '', '', 'reverse')
|
||||||
call s:hi("CursorIM", "", "", "")
|
call s:hi('CursorIM', '', '', '')
|
||||||
call s:hi("CursorColumn", "235", "", "")
|
call s:hi('CursorColumn', '235', '', '')
|
||||||
call s:hi("CursorLine", "", "", "")
|
call s:hi('CursorLine', '', '', '')
|
||||||
call s:hi("Directory", "", "", "")
|
call s:hi('Directory', '', '', '')
|
||||||
call s:hi("DiffAdd", "2", "", "")
|
call s:hi('DiffAdd', '2', '', '')
|
||||||
call s:hi("DiffChange", "", "", "")
|
call s:hi('DiffChange', '', '', '')
|
||||||
call s:hi("DiffDelete", "1", "", "")
|
call s:hi('DiffDelete', '1', '', '')
|
||||||
call s:hi("DiffText", "3", "", "")
|
call s:hi('DiffText', '3', '', '')
|
||||||
call s:hi("ErrorMsg", "1", "", "")
|
call s:hi('ErrorMsg', '1', '', '')
|
||||||
call s:hi("VertSplit", "235", "235", "")
|
call s:hi('VertSplit', '235', '235', '')
|
||||||
call s:hi("Folded", "8", "233", "")
|
call s:hi('Folded', '8', '233', '')
|
||||||
call s:hi("FoldColumn", "", "", "")
|
call s:hi('FoldColumn', '', '', '')
|
||||||
call s:hi("SignColumn", "", "233", "")
|
call s:hi('SignColumn', '', '233', '')
|
||||||
call s:hi("IncSearch", "", "", "reverse")
|
call s:hi('IncSearch', '', '', 'reverse')
|
||||||
call s:hi("LineNr", "240", "233", "")
|
call s:hi('LineNr', '240', '233', '')
|
||||||
call s:hi("CursorLineNr", "34", "233", "")
|
call s:hi('CursorLineNr', '34', '233', '')
|
||||||
call s:hi("MatchParen", "", "", "")
|
call s:hi('MatchParen', '', '', '')
|
||||||
call s:hi("ModeMsg", "", "", "")
|
call s:hi('ModeMsg', '', '', '')
|
||||||
call s:hi("MoreMsg", "12", "", "")
|
call s:hi('MoreMsg', '12', '', '')
|
||||||
call s:hi("NonText", "", "", "")
|
call s:hi('NonText', '', '', '')
|
||||||
call s:hi("Normal", "7", "232", "")
|
call s:hi('Normal', '7', '232', '')
|
||||||
call s:hi("Pmenu", "", "235", "")
|
call s:hi('Pmenu', '', '235', '')
|
||||||
call s:hi("PmenuSel", "", "", "reverse")
|
call s:hi('PmenuSel', '', '', 'reverse')
|
||||||
call s:hi("PmenuSbar", "", "", "")
|
call s:hi('PmenuSbar', '', '', '')
|
||||||
call s:hi("PmenuThumb", "", "", "")
|
call s:hi('PmenuThumb', '', '', '')
|
||||||
call s:hi("Question", "69", "", "")
|
call s:hi('Question', '69', '', '')
|
||||||
call s:hi("Search", "11", "", "")
|
call s:hi('Search', '11', '', '')
|
||||||
call s:hi("SpecialKey", "", "", "")
|
call s:hi('SpecialKey', '', '', '')
|
||||||
call s:hi("SpellBad", "160", "", "")
|
call s:hi('SpellBad', '160', '', '')
|
||||||
call s:hi("SpellCap", "12", "", "")
|
call s:hi('SpellCap', '12', '', '')
|
||||||
call s:hi("SpellLocal", "5", "", "")
|
call s:hi('SpellLocal', '5', '', '')
|
||||||
call s:hi("SpellRare", "3", "", "")
|
call s:hi('SpellRare', '3', '', '')
|
||||||
call s:hi("StatusLine", "15", "233", "")
|
call s:hi('StatusLine', '15', '233', '')
|
||||||
call s:hi("StatusLineNC", "", "235", "")
|
call s:hi('StatusLineNC', '', '235', '')
|
||||||
call s:hi("TabLine", "246", "235", "bold")
|
call s:hi('TabLine', '246', '235', 'bold')
|
||||||
call s:hi("TabLineFill", "", "235", "")
|
call s:hi('TabLineFill', '', '235', '')
|
||||||
call s:hi("TabLineSel", "248", "", "bold")
|
call s:hi('TabLineSel', '248', '', 'bold')
|
||||||
call s:hi("Title", "", "", "bold")
|
call s:hi('Title', '', '', 'bold')
|
||||||
call s:hi("Visual", "", "235", "")
|
call s:hi('Visual', '', '235', '')
|
||||||
call s:hi("VisualNOS", "", "", "")
|
call s:hi('VisualNOS', '', '', '')
|
||||||
call s:hi("WarningMsg", "92", "", "")
|
call s:hi('WarningMsg', '92', '', '')
|
||||||
call s:hi("WildMenu", "22", "148", "bold")
|
call s:hi('WildMenu', '22', '148', 'bold')
|
||||||
call s:hi("Menu", "", "", "")
|
call s:hi('Menu', '', '', '')
|
||||||
call s:hi("Scrollbar", "", "", "")
|
call s:hi('Scrollbar', '', '', '')
|
||||||
call s:hi("Tooltip", "", "", "")
|
call s:hi('Tooltip', '', '', '')
|
||||||
"" }}}
|
"" }}}
|
||||||
|
|
||||||
"" Syntax Groups {{{
|
"" Syntax Groups {{{
|
||||||
call s:hi("Comment", "8", "", "")
|
call s:hi('Comment', '8', '', '')
|
||||||
|
|
||||||
call s:hi("Constant", "168", "", "")
|
call s:hi('Constant', '168', '', '')
|
||||||
call s:hi("String", "173", "", "")
|
call s:hi('String', '173', '', '')
|
||||||
call s:hi("Character", "221", "", "")
|
call s:hi('Character', '221', '', '')
|
||||||
call s:hi("Number", "162", "", "")
|
call s:hi('Number', '162', '', '')
|
||||||
call s:hi("Boolean", "162", "", "")
|
call s:hi('Boolean', '162', '', '')
|
||||||
call s:hi("Float", "162", "", "")
|
call s:hi('Float', '162', '', '')
|
||||||
|
|
||||||
call s:hi("Identifier", "60", "", "")
|
call s:hi('Identifier', '60', '', '')
|
||||||
call s:hi("Function", "71", "", "")
|
call s:hi('Function', '71', '', '')
|
||||||
|
|
||||||
call s:hi("Statement", "30", "", "")
|
call s:hi('Statement', '30', '', '')
|
||||||
call s:hi("Conditional", "69", "", "")
|
call s:hi('Conditional', '69', '', '')
|
||||||
call s:hi("Repeat", "69", "", "")
|
call s:hi('Repeat', '69', '', '')
|
||||||
call s:hi("Label", "69", "", "")
|
call s:hi('Label', '69', '', '')
|
||||||
call s:hi("Operator", "166", "", "")
|
call s:hi('Operator', '166', '', '')
|
||||||
call s:hi("Keyword", "", "", "")
|
call s:hi('Keyword', '', '', '')
|
||||||
call s:hi("Exception", "", "", "")
|
call s:hi('Exception', '', '', '')
|
||||||
|
|
||||||
call s:hi("PreProc", "102", "", "")
|
call s:hi('PreProc', '102', '', '')
|
||||||
call s:hi("Include", "65", "", "")
|
call s:hi('Include', '65', '', '')
|
||||||
call s:hi("Define", "", "", "")
|
call s:hi('Define', '', '', '')
|
||||||
call s:hi("Macro", "", "", "")
|
call s:hi('Macro', '', '', '')
|
||||||
call s:hi("PreCondit", "61", "", "")
|
call s:hi('PreCondit', '61', '', '')
|
||||||
|
|
||||||
call s:hi("Type", "75", "", "")
|
call s:hi('Type', '75', '', '')
|
||||||
call s:hi("StorageClass", "66", "", "")
|
call s:hi('StorageClass', '66', '', '')
|
||||||
call s:hi("Structure", "69", "", "")
|
call s:hi('Structure', '69', '', '')
|
||||||
call s:hi("Typedef", "75", "", "")
|
call s:hi('Typedef', '75', '', '')
|
||||||
|
|
||||||
call s:hi("Special", "179", "", "")
|
call s:hi('Special', '179', '', '')
|
||||||
call s:hi("SpecialChar", "", "", "")
|
call s:hi('SpecialChar', '', '', '')
|
||||||
call s:hi("Tag", "", "", "")
|
call s:hi('Tag', '', '', '')
|
||||||
call s:hi("Delimiter", "", "", "")
|
call s:hi('Delimiter', '', '', '')
|
||||||
call s:hi("SpecialComment", "246", "", "")
|
call s:hi('SpecialComment', '246', '', '')
|
||||||
call s:hi("Debug", "", "", "")
|
call s:hi('Debug', '', '', '')
|
||||||
|
|
||||||
call s:hi("Underlined", "33", "", "underline")
|
call s:hi('Underlined', '33', '', 'underline')
|
||||||
call s:hi("Ignore", "", "", "")
|
call s:hi('Ignore', '', '', '')
|
||||||
call s:hi("Error", "1", "", "")
|
call s:hi('Error', '1', '', '')
|
||||||
call s:hi("Todo", "202", "", "bold")
|
call s:hi('Todo', '202', '', 'bold')
|
||||||
"" }}}
|
"" }}}
|
||||||
|
|
||||||
"" Custom Groups {{{
|
"" Custom Groups {{{
|
||||||
call s:hi("Block", "", "", "")
|
call s:hi('Block', '', '', '')
|
||||||
call s:hi("Note", "40", "", "bold")
|
call s:hi('Note', '40', '', 'bold')
|
||||||
call s:hi("Important", "220", "", "bold")
|
call s:hi('Important', '220', '', 'bold')
|
||||||
call s:hi("Research", "202", "", "bold")
|
call s:hi('Research', '202', '', 'bold')
|
||||||
|
|
||||||
call s:hi("SyntasticErrorSign", "160", "233", "bold")
|
call s:hi('SyntasticErrorSign', '160', '233', 'bold')
|
||||||
call s:hi("SyntasticWarningSign", "129", "233", "bold")
|
call s:hi('SyntasticWarningSign', '129', '233', 'bold')
|
||||||
call s:hi("SyntasticErrorLine", "", "", "")
|
call s:hi('SyntasticErrorLine', '', '', '')
|
||||||
call s:hi("SyntasticWarningLine", "", "", "")
|
call s:hi('SyntasticWarningLine', '', '', '')
|
||||||
call s:hi("SyntasticError", "160", "", "")
|
call s:hi('SyntasticError', '160', '', '')
|
||||||
call s:hi("SyntasticWarning", "129", "", "")
|
call s:hi('SyntasticWarning', '129', '', '')
|
||||||
"" }}}
|
"" }}}
|
||||||
endif
|
endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user