annotate rc/vim-base16-default @ 531:d6e08a057094

Updates to vim settings. - clear search key - smarter search - visual navigation - misc comments
author edogawaconan <me@myconan.net>
date Mon, 03 Nov 2014 23:22:59 +0900
parents e2b52663763b
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
503
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
1 " Base16 Default (https://github.com/chriskempson/base16)
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
2 " Scheme: Chris Kempson (http://chriskempson.com)
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
3
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
4 " GUI color definitions
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
5 let s:gui00 = "151515"
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
6 let s:gui01 = "202020"
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
7 let s:gui02 = "303030"
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
8 let s:gui03 = "505050"
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
9 let s:gui04 = "b0b0b0"
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
10 let s:gui05 = "d0d0d0"
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
11 let s:gui06 = "e0e0e0"
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
12 let s:gui07 = "f5f5f5"
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
13 let s:gui08 = "ac4142"
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
14 let s:gui09 = "d28445"
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
15 let s:gui0A = "f4bf75"
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
16 let s:gui0B = "90a959"
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
17 let s:gui0C = "75b5aa"
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
18 let s:gui0D = "6a9fb5"
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
19 let s:gui0E = "aa759f"
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
20 let s:gui0F = "8f5536"
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
21
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
22 " Terminal color definitions
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
23 let s:cterm00 = "00"
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
24 let s:cterm03 = "08"
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
25 let s:cterm05 = "07"
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
26 let s:cterm07 = "15"
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
27 let s:cterm08 = "01"
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
28 let s:cterm0A = "03"
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
29 let s:cterm0B = "02"
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
30 let s:cterm0C = "06"
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
31 let s:cterm0D = "04"
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
32 let s:cterm0E = "05"
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
33 if exists('base16colorspace') && base16colorspace == "256"
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
34 let s:cterm01 = "18"
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
35 let s:cterm02 = "19"
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
36 let s:cterm04 = "20"
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
37 let s:cterm06 = "21"
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
38 let s:cterm09 = "16"
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
39 let s:cterm0F = "17"
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
40 else
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
41 let s:cterm01 = "10"
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
42 let s:cterm02 = "11"
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
43 let s:cterm04 = "12"
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
44 let s:cterm06 = "13"
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
45 let s:cterm09 = "09"
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
46 let s:cterm0F = "14"
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
47 endif
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
48
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
49 " Theme setup
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
50 hi clear
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
51 syntax reset
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
52 let g:colors_name = "base16-default"
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
53
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
54 " Highlighting function
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
55 fun <sid>hi(group, guifg, guibg, ctermfg, ctermbg, attr)
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
56 if a:guifg != ""
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
57 exec "hi " . a:group . " guifg=#" . s:gui(a:guifg)
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
58 endif
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
59 if a:guibg != ""
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
60 exec "hi " . a:group . " guibg=#" . s:gui(a:guibg)
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
61 endif
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
62 if a:ctermfg != ""
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
63 exec "hi " . a:group . " ctermfg=" . s:cterm(a:ctermfg)
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
64 endif
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
65 if a:ctermbg != ""
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
66 exec "hi " . a:group . " ctermbg=" . s:cterm(a:ctermbg)
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
67 endif
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
68 if a:attr != ""
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
69 exec "hi " . a:group . " gui=" . a:attr . " cterm=" . a:attr
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
70 endif
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
71 endfun
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
72
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
73 " Return GUI color for light/dark variants
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
74 fun s:gui(color)
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
75 if &background == "dark"
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
76 return a:color
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
77 endif
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
78
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
79 if a:color == s:gui00
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
80 return s:gui07
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
81 elseif a:color == s:gui01
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
82 return s:gui06
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
83 elseif a:color == s:gui02
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
84 return s:gui05
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
85 elseif a:color == s:gui03
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
86 return s:gui04
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
87 elseif a:color == s:gui04
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
88 return s:gui03
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
89 elseif a:color == s:gui05
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
90 return s:gui02
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
91 elseif a:color == s:gui06
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
92 return s:gui01
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
93 elseif a:color == s:gui07
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
94 return s:gui00
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
95 endif
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
96
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
97 return a:color
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
98 endfun
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
99
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
100 " Return terminal color for light/dark variants
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
101 fun s:cterm(color)
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
102 if &background == "dark"
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
103 return a:color
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
104 endif
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
105
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
106 if a:color == s:cterm00
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
107 return s:cterm07
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
108 elseif a:color == s:cterm01
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
109 return s:cterm06
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
110 elseif a:color == s:cterm02
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
111 return s:cterm05
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
112 elseif a:color == s:cterm03
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
113 return s:cterm04
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
114 elseif a:color == s:cterm04
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
115 return s:cterm03
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
116 elseif a:color == s:cterm05
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
117 return s:cterm02
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
118 elseif a:color == s:cterm06
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
119 return s:cterm01
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
120 elseif a:color == s:cterm07
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
121 return s:cterm00
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
122 endif
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
123
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
124 return a:color
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
125 endfun
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
126
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
127 " Vim editor colors
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
128 call <sid>hi("Bold", "", "", "", "", "bold")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
129 call <sid>hi("Debug", s:gui08, "", s:cterm08, "", "")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
130 call <sid>hi("Directory", s:gui0D, "", s:cterm0D, "", "")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
131 call <sid>hi("ErrorMsg", s:gui08, s:gui00, s:cterm08, s:cterm00, "")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
132 call <sid>hi("Exception", s:gui08, "", s:cterm08, "", "")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
133 call <sid>hi("FoldColumn", "", s:gui01, "", s:cterm01, "")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
134 call <sid>hi("Folded", s:gui03, s:gui01, s:cterm03, s:cterm01, "")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
135 call <sid>hi("IncSearch", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "none")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
136 call <sid>hi("Italic", "", "", "", "", "none")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
137 call <sid>hi("Macro", s:gui08, "", s:cterm08, "", "")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
138 call <sid>hi("MatchParen", s:gui00, s:gui03, s:cterm00, s:cterm03, "")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
139 call <sid>hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
140 call <sid>hi("MoreMsg", s:gui0B, "", s:cterm0B, "", "")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
141 call <sid>hi("Question", s:gui0A, "", s:cterm0A, "", "")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
142 call <sid>hi("Search", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
143 call <sid>hi("SpecialKey", s:gui03, "", s:cterm03, "", "")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
144 call <sid>hi("TooLong", s:gui08, "", s:cterm08, "", "")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
145 call <sid>hi("Underlined", s:gui08, "", s:cterm08, "", "")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
146 call <sid>hi("Visual", "", s:gui02, "", s:cterm02, "")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
147 call <sid>hi("VisualNOS", s:gui08, "", s:cterm08, "", "")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
148 call <sid>hi("WarningMsg", s:gui08, "", s:cterm08, "", "")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
149 call <sid>hi("WildMenu", s:gui08, "", s:cterm08, "", "")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
150 call <sid>hi("Title", s:gui0D, "", s:cterm0D, "", "none")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
151 call <sid>hi("Conceal", s:gui0D, s:gui00, s:cterm0D, s:cterm00, "")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
152 call <sid>hi("Cursor", s:gui00, s:gui05, s:cterm00, s:cterm05, "")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
153 call <sid>hi("NonText", s:gui03, "", s:cterm03, "", "")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
154 call <sid>hi("Normal", s:gui05, s:gui00, s:cterm05, s:cterm00, "")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
155 call <sid>hi("LineNr", s:gui03, s:gui01, s:cterm03, s:cterm01, "")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
156 call <sid>hi("SignColumn", s:gui03, s:gui01, s:cterm03, s:cterm01, "")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
157 call <sid>hi("SpecialKey", s:gui03, "", s:cterm03, "", "")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
158 call <sid>hi("StatusLine", s:gui04, s:gui02, s:cterm04, s:cterm02, "none")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
159 call <sid>hi("StatusLineNC", s:gui03, s:gui01, s:cterm03, s:cterm01, "none")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
160 call <sid>hi("VertSplit", s:gui02, s:gui02, s:cterm02, s:cterm02, "none")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
161 call <sid>hi("ColorColumn", "", s:gui01, "", s:cterm01, "none")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
162 call <sid>hi("CursorColumn", "", s:gui01, "", s:cterm01, "none")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
163 call <sid>hi("CursorLine", "", s:gui01, "", s:cterm01, "none")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
164 call <sid>hi("CursorLineNr", s:gui03, s:gui01, s:cterm03, s:cterm01, "")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
165 call <sid>hi("PMenu", s:gui04, s:gui01, s:cterm04, s:cterm01, "none")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
166 call <sid>hi("PMenuSel", s:gui01, s:gui04, s:cterm01, s:cterm04, "")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
167 call <sid>hi("TabLine", s:gui03, s:gui01, s:cterm03, s:cterm01, "none")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
168 call <sid>hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
169 call <sid>hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
170
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
171 " Standard syntax highlighting
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
172 call <sid>hi("Boolean", s:gui09, "", s:cterm09, "", "")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
173 call <sid>hi("Character", s:gui08, "", s:cterm08, "", "")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
174 call <sid>hi("Comment", s:gui03, "", s:cterm03, "", "")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
175 call <sid>hi("Conditional", s:gui0E, "", s:cterm0E, "", "")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
176 call <sid>hi("Constant", s:gui09, "", s:cterm09, "", "")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
177 call <sid>hi("Define", s:gui0E, "", s:cterm0E, "", "none")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
178 call <sid>hi("Delimiter", s:gui0F, "", s:cterm0F, "", "")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
179 call <sid>hi("Float", s:gui09, "", s:cterm09, "", "")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
180 call <sid>hi("Function", s:gui0D, "", s:cterm0D, "", "")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
181 call <sid>hi("Identifier", s:gui08, "", s:cterm08, "", "none")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
182 call <sid>hi("Include", s:gui0D, "", s:cterm0D, "", "")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
183 call <sid>hi("Keyword", s:gui0E, "", s:cterm0E, "", "")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
184 call <sid>hi("Label", s:gui0A, "", s:cterm0A, "", "")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
185 call <sid>hi("Number", s:gui09, "", s:cterm09, "", "")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
186 call <sid>hi("Operator", s:gui05, "", s:cterm05, "", "none")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
187 call <sid>hi("PreProc", s:gui0A, "", s:cterm0A, "", "")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
188 call <sid>hi("Repeat", s:gui0A, "", s:cterm0A, "", "")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
189 call <sid>hi("Special", s:gui0C, "", s:cterm0C, "", "")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
190 call <sid>hi("SpecialChar", s:gui0F, "", s:cterm0F, "", "")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
191 call <sid>hi("Statement", s:gui08, "", s:cterm08, "", "")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
192 call <sid>hi("StorageClass", s:gui0A, "", s:cterm0A, "", "")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
193 call <sid>hi("String", s:gui0B, "", s:cterm0B, "", "")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
194 call <sid>hi("Structure", s:gui0E, "", s:cterm0E, "", "")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
195 call <sid>hi("Tag", s:gui0A, "", s:cterm0A, "", "")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
196 call <sid>hi("Todo", s:gui0A, s:gui01, s:cterm0A, s:cterm01, "")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
197 call <sid>hi("Type", s:gui09, "", s:cterm09, "", "none")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
198 call <sid>hi("Typedef", s:gui0A, "", s:cterm0A, "", "")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
199
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
200 " Spelling highlighting
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
201 call <sid>hi("SpellBad", "", s:gui00, "", s:cterm00, "undercurl")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
202 call <sid>hi("SpellLocal", "", s:gui00, "", s:cterm00, "undercurl")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
203 call <sid>hi("SpellCap", "", s:gui00, "", s:cterm00, "undercurl")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
204 call <sid>hi("SpellRare", "", s:gui00, "", s:cterm00, "undercurl")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
205
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
206 " Additional diff highlighting
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
207 call <sid>hi("DiffAdd", s:gui0B, s:gui00, s:cterm0B, s:cterm00, "")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
208 call <sid>hi("DiffChange", s:gui0D, s:gui00, s:cterm0D, s:cterm00, "")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
209 call <sid>hi("DiffDelete", s:gui08, s:gui00, s:cterm08, s:cterm00, "")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
210 call <sid>hi("DiffText", s:gui0D, s:gui00, s:cterm0D, s:cterm00, "")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
211 call <sid>hi("DiffAdded", s:gui0B, s:gui00, s:cterm0B, s:cterm00, "")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
212 call <sid>hi("DiffFile", s:gui08, s:gui00, s:cterm08, s:cterm00, "")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
213 call <sid>hi("DiffNewFile", s:gui0B, s:gui00, s:cterm0B, s:cterm00, "")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
214 call <sid>hi("DiffLine", s:gui0D, s:gui00, s:cterm0D, s:cterm00, "")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
215 call <sid>hi("DiffRemoved", s:gui08, s:gui00, s:cterm08, s:cterm00, "")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
216
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
217 " Ruby highlighting
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
218 call <sid>hi("rubyAttribute", s:gui0D, "", s:cterm0D, "", "")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
219 call <sid>hi("rubyConstant", s:gui0A, "", s:cterm0A, "", "")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
220 call <sid>hi("rubyInterpolation", s:gui0B, "", s:cterm0B, "", "")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
221 call <sid>hi("rubyInterpolationDelimiter", s:gui0F, "", s:cterm0F, "", "")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
222 call <sid>hi("rubyRegexp", s:gui0C, "", s:cterm0C, "", "")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
223 call <sid>hi("rubySymbol", s:gui0B, "", s:cterm0B, "", "")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
224 call <sid>hi("rubyStringDelimiter", s:gui0B, "", s:cterm0B, "", "")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
225
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
226 " PHP highlighting
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
227 call <sid>hi("phpMemberSelector", s:gui05, "", s:cterm05, "", "")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
228 call <sid>hi("phpComparison", s:gui05, "", s:cterm05, "", "")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
229 call <sid>hi("phpParent", s:gui05, "", s:cterm05, "", "")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
230
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
231 " HTML highlighting
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
232 call <sid>hi("htmlBold", s:gui0A, "", s:cterm0A, "", "")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
233 call <sid>hi("htmlItalic", s:gui0E, "", s:cterm0E, "", "")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
234 call <sid>hi("htmlEndTag", s:gui05, "", s:cterm05, "", "")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
235 call <sid>hi("htmlTag", s:gui05, "", s:cterm05, "", "")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
236
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
237 " CSS highlighting
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
238 call <sid>hi("cssBraces", s:gui05, "", s:cterm05, "", "")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
239 call <sid>hi("cssClassName", s:gui0E, "", s:cterm0E, "", "")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
240 call <sid>hi("cssColor", s:gui0C, "", s:cterm0C, "", "")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
241
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
242 " SASS highlighting
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
243 call <sid>hi("sassidChar", s:gui08, "", s:cterm08, "", "")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
244 call <sid>hi("sassClassChar", s:gui09, "", s:cterm09, "", "")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
245 call <sid>hi("sassInclude", s:gui0E, "", s:cterm0E, "", "")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
246 call <sid>hi("sassMixing", s:gui0E, "", s:cterm0E, "", "")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
247 call <sid>hi("sassMixinName", s:gui0D, "", s:cterm0D, "", "")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
248
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
249 " JavaScript highlighting
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
250 call <sid>hi("javaScript", s:gui05, "", s:cterm05, "", "")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
251 call <sid>hi("javaScriptBraces", s:gui05, "", s:cterm05, "", "")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
252 call <sid>hi("javaScriptNumber", s:gui09, "", s:cterm09, "", "")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
253
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
254 " Markdown highlighting
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
255 call <sid>hi("markdownCode", s:gui0B, "", s:cterm0B, "", "")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
256 call <sid>hi("markdownCodeBlock", s:gui0B, "", s:cterm0B, "", "")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
257 call <sid>hi("markdownHeadingDelimiter", s:gui0D, "", s:cterm0D, "", "")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
258
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
259 " Git highlighting
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
260 call <sid>hi("gitCommitOverflow", s:gui08, "", s:cterm08, "", "")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
261 call <sid>hi("gitCommitSummary", s:gui0B, "", s:cterm0B, "", "")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
262
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
263 " GitGutter highlighting
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
264 call <sid>hi("GitGutterAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
265 call <sid>hi("GitGutterChange", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
266 call <sid>hi("GitGutterDelete", s:gui08, s:gui01, s:cterm08, s:cterm01, "")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
267 call <sid>hi("GitGutterChangeDelete", s:gui0E, s:gui01, s:cterm0E, s:cterm01, "")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
268
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
269 " Signify highlighting
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
270 call <sid>hi("SignifySignAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
271 call <sid>hi("SignifySignChange", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
272 call <sid>hi("SignifySignDelete", s:gui08, s:gui01, s:cterm08, s:cterm01, "")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
273
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
274 " NERDTree highlighting
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
275 call <sid>hi("NERDTreeDirSlash", s:gui0D, "", s:cterm0D, "", "")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
276 call <sid>hi("NERDTreeExecFile", s:gui05, "", s:cterm05, "", "")
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
277
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
278 " Remove functions
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
279 delf <sid>hi
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
280 delf <sid>gui
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
281 delf <sid>cterm
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
282
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
283 " Remove color variables
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
284 unlet s:gui00 s:gui01 s:gui02 s:gui03 s:gui04 s:gui05 s:gui06 s:gui07 s:gui08 s:gui09 s:gui0A s:gui0B s:gui0C s:gui0D s:gui0E s:gui0F
e2b52663763b Replace solarized with base16.
edogawaconan <me@myconan.net>
parents:
diff changeset
285 unlet s:cterm00 s:cterm01 s:cterm02 s:cterm03 s:cterm04 s:cterm05 s:cterm06 s:cterm07 s:cterm08 s:cterm09 s:cterm0A s:cterm0B s:cterm0C s:cterm0D s:cterm0E s:cterm0F