forked from macvim-dev/macvim
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmacvim.vim
More file actions
134 lines (119 loc) · 4.54 KB
/
Copy pathmacvim.vim
File metadata and controls
134 lines (119 loc) · 4.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
" MacVim colorscheme
"
" Author: Bjorn Winckler <[email protected]>
" Maintainer: macvim-dev (https://github.com/macvim-dev)
" Last Change: 2008 May 9
"
" This is the default MacVim color scheme. It supports both light and dark
" backgrounds (see :h 'background').
"
highlight clear
" Reset String -> Constant links etc if they were reset
if exists("syntax_on")
syntax reset
endif
let colors_name = "macvim"
"
" First list all groups common to both 'light' and 'dark' background.
"
" `:he highlight-groups`
hi DiffAdd guibg=MediumSeaGreen
hi Directory guifg=#1600FF
hi ErrorMsg guibg=Firebrick2 guifg=White
hi FoldColumn guibg=Grey guifg=DarkBlue
hi Folded guibg=#E6E6E6 guifg=DarkBlue
hi IncSearch gui=reverse
hi ModeMsg gui=bold
hi MoreMsg gui=bold guifg=SeaGreen4
hi NonText gui=bold guifg=Blue
hi Pmenu guibg=LightSteelBlue1
hi PmenuSbar guibg=Grey
hi PmenuSel guifg=White guibg=SkyBlue4
hi PmenuThumb gui=reverse
hi Question gui=bold guifg=Chartreuse4
hi SignColumn guibg=Grey guifg=DarkBlue
hi SpecialKey guifg=Blue
hi SpellBad guisp=Firebrick2 gui=undercurl
hi SpellCap guisp=Blue gui=undercurl
hi SpellLocal guisp=DarkCyan gui=undercurl
hi SpellRare guisp=Magenta gui=undercurl
hi StatusLine gui=NONE guifg=White guibg=DarkSlateGray
hi StatusLineNC gui=NONE guifg=SlateGray guibg=Gray90
hi TabLine gui=underline guibg=LightGrey
hi TabLineFill gui=reverse
hi TabLineSel gui=bold
hi Title gui=bold guifg=DeepSkyBlue3
hi VertSplit gui=NONE guifg=DarkSlateGray guibg=Gray90
if has("gui_macvim")
hi Visual guibg=MacSelectedTextBackgroundColor
else
hi Visual guibg=#72F7FF
endif
hi WarningMsg guifg=Firebrick2
" Syntax items (`:he group-name` -- more groups are available, these are just
" the top level syntax items for now).
hi Error gui=NONE guifg=White guibg=Firebrick3
hi Identifier gui=NONE guifg=Aquamarine4 guibg=NONE
hi Ignore gui=NONE guifg=bg guibg=NONE
hi PreProc gui=NONE guifg=DodgerBlue3 guibg=NONE
hi Special gui=NONE guifg=BlueViolet guibg=NONE
hi String gui=NONE guifg=SkyBlue4 guibg=NONE
hi Underlined gui=underline guifg=SteelBlue1
"
" Groups that differ between 'light' and 'dark' background.
"
if &background == "dark"
hi Boolean gui=NONE guifg=DeepPink4 guibg=NONE
hi Comment gui=italic guifg=CadetBlue3
hi Constant gui=NONE guifg=Goldenrod1 guibg=NONE
hi Cursor guibg=LightGoldenrod guifg=bg
hi CursorColumn guibg=Gray20
hi CursorIM guibg=LightSlateGrey guifg=bg
hi CursorLine guibg=Gray20
hi DiffChange guibg=MediumPurple4
hi DiffDelete gui=bold guifg=White guibg=SlateBlue
hi DiffText gui=NONE guifg=White guibg=SteelBlue
hi LineNr guifg=#552A7B guibg=Grey5
hi MatchParen guifg=White guibg=Magenta
hi Normal guifg=Grey50 guibg=Grey10
hi Search guibg=Blue4 guifg=NONE
hi Statement gui=bold guifg=Purple1 guibg=NONE
hi Todo gui=NONE guifg=Green4 guibg=DeepSkyBlue1
hi Type gui=bold guifg=Cyan4 guibg=NONE
hi WildMenu guibg=SkyBlue guifg=White
hi lCursor guibg=LightSlateGrey guifg=bg
else
hi Boolean gui=NONE guifg=Red3 guibg=NONE
hi Comment gui=italic guifg=Blue2 guibg=NONE
hi Constant gui=NONE guifg=DarkOrange guibg=NONE
hi Cursor guibg=fg guifg=bg
hi CursorColumn guibg=#F1F5FA
hi CursorIM guibg=fg guifg=bg
hi CursorLine guibg=#F1F5FA
hi DiffChange guibg=DeepSkyBlue
hi DiffDelete gui=bold guifg=Black guibg=SlateBlue
hi DiffText gui=NONE guibg=Gold
hi LineNr guifg=#888888 guibg=#E6E6E6
hi MatchParen guifg=White guibg=MediumPurple1
if has("gui_macvim")
hi Normal gui=NONE guifg=MacTextColor guibg=MacTextBackgroundColor
else
hi Normal gui=NONE guifg=Black guibg=White
endif
hi Search guibg=CadetBlue1 guifg=NONE
hi Statement gui=bold guifg=Maroon guibg=NONE
hi Todo gui=NONE guifg=DarkGreen guibg=PaleGreen1
hi Type gui=bold guifg=Green4 guibg=NONE
hi WildMenu guibg=SkyBlue guifg=Black
hi lCursor guibg=fg guifg=bg
endif
"
" Change the selection color on focus change (but only if the "macvim"
" colorscheme is active).
"
if has("gui_macvim") && !exists("s:augroups_defined")
au FocusLost * if exists("colors_name") && colors_name == "macvim" | hi Visual guibg=MacSecondarySelectedControlColor | endif
au FocusGained * if exists("colors_name") && colors_name == "macvim" | hi Visual guibg=MacSelectedTextBackgroundColor | endif
let s:augroups_defined = 1
endif
" vim: sw=2