3 " Maintainer: Bjorn Winckler <bjorn.winckler@gmail.com>
4 " Last Change: 2007 Nov 17
6 " This is the default MacVim color scheme. It supports both light and dark
7 " backgrounds (see :h 'background').
13 " Reset String -> Constant links etc if they were reset
14 if exists("syntax_on")
18 let colors_name = "macvim"
22 " First list all groups common to both 'light' and 'dark' background.
25 " `:he highlight-groups`
26 hi CursorColumn guibg=#F1F5FA
27 hi CursorLine guibg=#F1F5FA
28 hi DiffAdd guibg=MediumSeaGreen
29 hi Directory guifg=#1600FF
30 hi ErrorMsg guibg=Firebrick2 guifg=White
31 hi FoldColumn guibg=Grey guifg=DarkBlue
32 hi Folded guibg=#E6E6E6 guifg=DarkBlue
33 hi IncSearch gui=reverse
34 hi LineNr guifg=#888888 guibg=#E6E6E6
36 hi MoreMsg gui=bold guifg=SeaGreen4
37 hi NonText gui=bold guifg=Blue
38 hi Pmenu guibg=LightSteelBlue1
39 hi PmenuSbar guibg=Grey
40 hi PmenuSel guifg=White guibg=SkyBlue4
41 hi PmenuThumb gui=reverse
42 hi Question gui=bold guifg=Chartreuse4
43 hi SignColumn guibg=Grey guifg=DarkBlue
44 hi SpecialKey guifg=Blue
45 hi SpellBad guisp=Firebrick2 gui=undercurl
46 hi SpellCap guisp=Blue gui=undercurl
47 hi SpellLocal guisp=DarkCyan gui=undercurl
48 hi SpellRare guisp=Magenta gui=undercurl
49 hi StatusLine gui=NONE guifg=White guibg=DarkSlateGray
50 hi StatusLineNC gui=NONE guifg=SlateGray guibg=Gray90
51 hi TabLine gui=underline guibg=LightGrey
52 hi TabLineFill gui=reverse
53 hi TabLineSel gui=bold
54 hi Title gui=bold guifg=DeepSkyBlue3
55 hi VertSplit gui=NONE guifg=DarkSlateGray guibg=Gray90
56 hi Visual guibg=MacSelectedTextBackgroundColor
57 hi WarningMsg guifg=Firebrick2
59 " Syntax items (`:he group-name` -- more groups are available, these are just
60 " the top level syntax items for now).
61 hi Error gui=NONE guifg=White guibg=Firebrick3
62 hi Identifier gui=NONE guifg=Aquamarine4 guibg=NONE
63 hi Ignore gui=NONE guifg=bg guibg=NONE
64 hi PreProc gui=NONE guifg=DodgerBlue3 guibg=NONE
65 hi Special gui=NONE guifg=BlueViolet guibg=NONE
66 hi String gui=NONE guifg=SkyBlue4 guibg=NONE
67 hi Underlined gui=underline guifg=SteelBlue1
71 " Groups that differ between 'light' and 'dark' background.
74 if &background == "dark"
75 hi Boolean gui=NONE guifg=DeepPink4 guibg=NONE
76 hi Comment gui=italic guifg=CadetBlue3
77 hi Constant gui=NONE guifg=Goldenrod1 guibg=NONE
78 hi Cursor guibg=LightSlateGrey guifg=bg
79 hi CursorIM guibg=LightSlateGrey guifg=bg
80 hi DiffChange guibg=MediumPurple4
81 hi DiffDelete gui=bold guifg=White guibg=SlateBlue
82 hi DiffText gui=NONE guifg=White guibg=SteelBlue
83 hi MatchParen guifg=White guibg=Magenta
84 hi Normal guifg=Grey50 guibg=Grey10
85 hi Search guibg=Blue4 guifg=NONE
86 hi Statement gui=bold guifg=Purple1 guibg=NONE
87 hi Todo gui=NONE guifg=Green4 guibg=DeepSkyBlue1
88 hi Type gui=bold guifg=Cyan4 guibg=NONE
89 hi WildMenu guibg=SkyBlue guifg=White
90 hi lCursor guibg=LightSlateGrey guifg=bg
92 hi Boolean gui=NONE guifg=Red3 guibg=NONE
93 hi Comment gui=italic guifg=Blue2 guibg=NONE
94 hi Constant gui=NONE guifg=DarkOrange guibg=NONE
95 hi Cursor guibg=fg guifg=bg
96 hi CursorIM guibg=fg guifg=bg
97 hi DiffChange guibg=DeepSkyBlue
98 hi DiffDelete gui=bold guifg=Black guibg=SlateBlue
99 hi DiffText gui=NONE guibg=Gold
100 hi MatchParen guifg=White guibg=MediumPurple1
101 hi Normal gui=NONE guifg=MacTextColor guibg=MacTextBackgroundColor
102 hi Search guibg=CadetBlue1 guifg=NONE
103 hi Statement gui=bold guifg=Maroon guibg=NONE
104 hi Todo gui=NONE guifg=DarkGreen guibg=PaleGreen1
105 hi Type gui=bold guifg=Green4 guibg=NONE
106 hi WildMenu guibg=SkyBlue guifg=Black
107 hi lCursor guibg=fg guifg=bg
112 " Change the selection color on focus change (but only if the "macvim"
113 " colorscheme is active).
115 if !exists("s:augroups_defined")
116 au FocusLost * if exists("colors_name") && colors_name == "macvim" | hi Visual guibg=MacSecondarySelectedControlColor | endif
117 au FocusGained * if exists("colors_name") && colors_name == "macvim" | hi Visual guibg=MacSelectedTextBackgroundColor | endif
119 let s:augroups_defined = 1