]> git.madduck.net Git - etc/vim.git/blob - templates/_common.colortemplate

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

- added DiffAdded & DiffRemoved
[etc/vim.git] / templates / _common.colortemplate
1 # vim: ft=colortemplate fdm=marker
2
3 # Default highlight groups {{{
4 verbatim
5 if !has('gui_running') && get(g:, '@optionprefix_transp_bg', 0)
6 endverbatim
7   # Transparent background
8   Normal       fg1           none
9   CursorLineNr yellow        none
10   FoldColumn   brightblack   none
11   SignColumn   fg2           none
12   VertSplit    bg3           none
13 verbatim
14 else
15 endverbatim
16   # Opaque background
17   Normal       fg1           bg0
18   CursorLineNr yellow        bg1
19   FoldColumn   brightblack   bg1
20   SignColumn   fg2           bg1
21   VertSplit    bg3           bg0
22 verbatim
23 endif
24 endverbatim
25
26 # Group                          Fg           Bg      Attributes
27 ColorColumn                      none         bg1
28 Conceal                          blue         none
29 Cursor                           none         none    reverse
30 CursorColumn                  -> CursorLine
31 CursorLine                       none         bg1     bold
32 DiffAdd                          fg0          brightgreen
33 DiffAdded                        fg0          brightgreen
34 DiffChange                       fg0          brightblue
35 DiffDelete                       fg0          brightred
36 DiffRemoved                      fg0          brightred
37 DiffText                         fg0          brightgreen
38 Directory                        blue         none    bold
39 EndOfBuffer                      bg0          none
40 Error                            bg0          red
41 ErrorMsg                      -> Error
42 Folded                           brightblack  bg1     g=italic
43 IncSearch                        brightyellow black   reverse
44 LineNr                           bg3          bg1
45 MatchParen                       none         bg2     bold
46 ModeMsg                          blue         none
47 MoreMsg                          green        none
48 NonText                          bg4          none
49 Pmenu                            fg1          bg2
50 PmenuSbar                        none         bg2
51 PmenuSel                         bg1          fg2    bold
52 PmenuThumb                       none         bg4
53 Question                         darkyellow   none
54 QuickFixLine                  -> Search
55 Search                           brightyellow black   reverse
56 SpecialKey                       bg4          none
57 SpellBad                         red          none    t=underline g=italic,undercurl s=red
58 SpellCap                         blue         none    t=underline g=italic,undercurl s=blue
59 SpellLocal                       cyan         none    t=underline g=italic,undercurl s=cyan
60 SpellRare                        magenta      none    t=underline g=italic,undercurl s=magenta
61 StatusLine                       bg2          fg1     reverse
62 StatusLineNC                     bg1          fg2     reverse
63 StatusLineTerm                -> StatusLine
64 StatusLineTermNC              -> StatusLineNC
65 TabLine                       -> TabLineFill
66 TabLineFill                      fg2          bg3
67 TabLineSel                       fg1          bg1
68 Title                            fg0          none    bold
69 Visual                           none         bg1
70 VisualNOS                     -> Visual
71 WarningMsg                       red          none
72 WildMenu                         blue         bg2     bold
73 # Other conventional group names (see `:help group-name`)
74 Boolean                          magenta      none
75 Character                        magenta      none
76 Comment                          brightblack  none    g=italic
77 Conditional                      red          none
78 Constant                         magenta      none
79 Define                           cyan         none
80 Debug                            red          none
81 Delimiter                     -> Statement
82 Exception                        red          none
83 Float                            magenta      none
84 Function                         blue         none    bold
85 Identifier                       cyan         none
86 Ignore                           fg           none
87 Include                          cyan         none
88 Keyword                          red          none
89 Label                         -> Statement
90 Macro                            cyan         none
91 Number                           magenta      none
92 Operator                      -> Normal
93 PreCondit                        cyan         none
94 PreProc                          cyan         none
95 Repeat                           red          none
96 SpecialChar                      red          none
97 SpecialComment                   red          none
98 Statement                        red          none
99 StorageClass                     green        none
100 Special                          yellow       none
101 String                           green        none
102 Structure                        cyan         none
103 Tag                           -> Special
104 Todo                             fg           bg0     t=bold g=bold,italic
105 Type                             cyan         none
106 Typedef                          cyan         none
107 Underlined                       blue         none    underline
108 # Language mapping cursor
109 lCursor                       -> Cursor
110 # See `:help CursorIM`
111 CursorIM                         none         none    reverse
112 # See `:help window-toolbar`
113 ToolbarLine                      none         bg3
114 ToolbarButton                    fg0          bg3     bold
115 # }}}
116
117 # Italics {{{
118 verbatim
119 if get(g:, "@optionprefix_italic", 0)
120   hi Comment cterm=italic
121   hi Folded cterm=italic
122   hi SpellBad cterm=italic,underline
123   hi SpellCap cterm=italic,underline
124   hi SpellLocal cterm=italic,underline
125   hi SpellRare cterm=italic,underline
126   hi Todo cterm=italic
127 endif
128 endverbatim
129 # }}}
130
131 # Additional highlight groups {{{
132 # Input mode cursor
133 iCursor                       -> Cursor
134 # Visual mode cursor, selection
135 vCursor                       -> Cursor
136
137 # Useful for custom status lines
138 NormalMode                       fg2          bg0     reverse
139 InsertMode                       blue         bg0     reverse
140 ReplaceMode                      cyan         bg0     reverse
141 VisualMode                       yellow       bg0     reverse
142 CommandMode                      magenta      bg0     reverse
143 Warnings                         yellow       bg0     reverse
144 # }}}
145
146 # Terminal colors {{{
147 Include: _terminal.colortemplate
148 # }}}
149