]> 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:

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