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

- mark CursorLine & CursorColumn with different background - no more bold+italic
[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_dimmed', 0)
5   # dimmed colours
6   #if !has('gui_running') && &background ==# 'light'
7     #if !has('gui_running') && get(g:, '@optionprefix_transparent', 0)
8       Normal                       realblack    none
9     #else
10       Normal                       realblack    bg0
11     #endif
12   #elseif !has('gui_running') && &background ==# 'dark'
13     #if get(g:, '@optionprefix_transparent', 0)
14       Normal                       brightwhite  none
15     #else
16       Normal                       brightwhite  bg0
17     #endif
18   #endif
19   Conceal                          darkblue     none
20   Constant                         darkgreen    none
21   Directory                        darkblue     none    bold
22   Error                            darkred      none    t=reverse,bold g=standout,bold
23   Function                         darkcyan     none
24   Identifier                       darkblue     none
25   ModeMsg                          darkblue     none
26   MoreMsg                          darkgreen    none
27   PreProc                          darkcyan     none
28   Statement                        darkred      none
29   Special                          darkyellow   none
30   Todo                             darkcyan     none    reverse
31   WarningMsg                       darkred      none
32   WildMenu                         darkblue     bg2     bold
33 #else
34   # default colours
35   #if !has('gui_running') && get(g:, '@optionprefix_transparent', 0)
36     Normal                         fg1          none
37   #else
38     Normal                         fg1          bg0
39   #endif
40   Conceal                          blue         none
41   Constant                         green        none
42   Directory                        blue         none    bold
43   Error                            red          none    t=reverse,bold g=standout,bold
44   Function                         cyan         none
45   Identifier                       blue         none
46   ModeMsg                          blue         none
47   MoreMsg                          green        none
48   PreProc                          cyan         none
49   Statement                        red          none
50   Special                          yellow       none
51   Todo                             cyan         none    reverse
52   WarningMsg                       red          none
53   WildMenu                         blue         bg2     bold
54 #endif
55 #if !has('gui_running') && get(g:, '@optionprefix_transparent', 0)
56   # transparent background
57   CursorLineNr                     yellow       none
58   FoldColumn                       darkgray     none
59   SignColumn                       fg2          none
60   VertSplit                        bg3          none
61 #else
62   # opaque background
63   CursorLineNr                     yellow       bg1
64   FoldColumn                       darkgray     bg1
65   SignColumn                       fg2          bg1
66   VertSplit                        bg3          bg0
67 #endif
68
69 # Group                          Fg           Bg      Attributes
70 ColorColumn                      none         bg1     bold
71 Cursor                           none         none    reverse,bold
72 CursorColumn                  -> CursorLine
73 CursorLine                       none         bg1
74 DiffAdd                          none         diffgreen
75 DiffAdded                        none         diffgreen
76 DiffChange                       none         diffblue
77 DiffDelete                       none         diffred
78 DiffRemoved                      none         diffred
79 DiffText                         none         diffgreen
80 EndOfBuffer                      bg0          none
81 ErrorMsg                      -> Error
82 Folded                           bg3          bg1     g=italic
83 IncSearch                        yellow       black   reverse
84 LineNr                           bg3          bg1
85 MatchParen                       none         bg2     bold
86 NonText                          bg4          none
87 Pmenu                            fg1          bg2
88 PmenuSbar                        none         bg2
89 PmenuSel                         bg1          fg2    bold
90 PmenuThumb                       none         bg4
91 Question                         darkyellow   none
92 QuickFixLine                  -> Search
93 Search                           brightyellow black   reverse
94 SpecialKey                       bg4          none
95 SpellBad                         red          none    t=underline g=italic,undercurl s=red
96 SpellCap                         blue         none    t=underline g=italic,undercurl s=blue
97 SpellLocal                       cyan         none    t=underline g=italic,undercurl s=cyan
98 SpellRare                        magenta      none    t=underline g=italic,undercurl s=magenta
99 StatusLine                       bg2          fg1     reverse
100 StatusLineNC                     bg1          fg2     reverse
101 StatusLineTerm                -> StatusLine
102 StatusLineTermNC              -> StatusLineNC
103 TabLine                       -> TabLineFill
104 TabLineFill                      fg2          bg3
105 TabLineSel                       fg1          bg1
106 Title                            red          none   bold
107 Visual                           none         bg1
108 VisualNOS                     -> Visual
109 # Other conventional group names (see `:help group-name`)
110 Boolean                       -> Constant
111 Character                     -> Constant
112 Comment                          fg3          none
113 Conditional                   -> Statement
114 Define                        -> PreProc
115 Debug                         -> Special
116 Delimiter                     -> Special
117 Exception                     -> Statement
118 Float                         -> Constant
119 Ignore                           fg           none
120 Include                       -> PreProc
121 Keyword                       -> Statement
122 Label                         -> Statement
123 Macro                         -> PreProc
124 Number                        -> Constant
125 Operator                      -> Statement
126 PreCondit                     -> PreProc
127 Repeat                        -> Statement
128 SpecialChar                   -> Special
129 SpecialComment                -> Special
130 StorageClass                  -> Type
131 String                        -> Constant
132 Structure                     -> Type
133 Tag                           -> Special
134 Type                             darkcyan     none
135 Typedef                       -> Type
136 Underlined                       none         none    underline
137 # Language mapping cursor
138 lCursor                       -> Cursor
139 # See `:help CursorIM`
140 CursorIM                         none         none    reverse
141 # See `:help window-toolbar`
142 ToolbarLine                      none         bg3
143 ToolbarButton                    fg0          bg3     bold
144 # }}}
145
146 # Additional highlight groups {{{
147 # Input mode cursor
148 iCursor                       -> Cursor
149 # Visual mode cursor, selection
150 vCursor                       -> Cursor
151
152 # Useful for custom status lines
153 NormalMode                       fg2          bg0     reverse
154 InsertMode                       blue         bg0     reverse
155 ReplaceMode                      cyan         bg0     reverse
156 VisualMode                       yellow       bg0     reverse
157 CommandMode                      magenta      bg0     reverse
158 Warnings                         yellow       bg0     reverse
159 # }}}
160
161 # Terminal colors {{{
162 TermCursor                    -> Cursor
163 TermCursorNC                     bg1          fg1
164 # }}}
165