File: mayansmoke.vim

package info (click to toggle)
vim-scripts 20210124.4
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 4,384 kB
  • sloc: perl: 420; xml: 95; makefile: 25
file content (343 lines) | stat: -rw-r--r-- 18,527 bytes parent folder | download | duplicates (4)
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
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
" =============================================================================
"
" File:        mayansmoke.vim
" Description: Vim color scheme file
" Maintainer:  Jeet Sukumaran (GUI colors); Clayton Parker (cterm colors)
"
" =============================================================================

"  Initialization and Setup {{{1
" =============================================================================
set background=light
highlight clear
if exists("syntax_on")
  syntax reset
endif
let colors_name = "mayansmoke"
" }}}

"  Normal Color {{{1
" =============================================================================
hi Normal gui=NONE guifg=Black guibg=#F4F4E8
" }}}

"  Highlight Groups {{{1
" =============================================================================
" Groups (see ':help highlight-groups'):
"    ColorColumn     highlight to use with ':set colorcolumn'
"    Cursor          the character under the cursor
"    CursorIM        like Cursor, but used when in IME mode |CursorIM|
"    CursorColumn    the screen column that the cursor is in when 'cursorcolumn' is set
"    CursorLine      the screen line that the cursor is in when 'cursorline' is set
"    Directory       directory names (and other special names in listings)
"    DiffAdd         diff mode: Added line |diff.txt|
"    DiffChange      diff mode: Changed line |diff.txt|
"    DiffDelete      diff mode: Deleted line |diff.txt|
"    DiffText        diff mode: Changed text within a changed line |diff.txt|
"    ErrorMsg        error messages on the command line
"    VertSplit       the column separating vertically split windows
"    Folded          line used for closed folds
"    FoldColumn      'foldcolumn'
"    SignColumn      column where |signs| are displayed
"    IncSearch       'incsearch' highlighting; also used for the text replaced with ":s///c"
"    LineNr          Line number for ":number" and ":#" commands, and when 'number' option is set.
"    MatchParen      The character under the cursor or just before it, if it is a paired bracket, and its match. |pi_paren.txt|
"    ModeMsg         'showmode' message (e.g., "-- INSERT --")
"    MoreMsg         |more-prompt|
"    NonText         '~' and '@' at the end of the window, etc.
"    Normal          normal text
"    Pmenu           Popup menu: normal item.
"    PmenuSel        Popup menu: selected item.
"    PmenuSbar       Popup menu: scrollbar.
"    PmenuThumb      Popup menu: Thumb of the scrollbar.
"    Question        |hit-enter| prompt and yes/no questions
"    Search          Last search pattern highlighting (see 'hlsearch').
"    SpecialKey      Meta and special keys listed with ":map", text that is displayed differently from what it really is (such as tabs, spaces in listchars etc.).
"    SpellBad        Word that is not recognized by the spellchecker. |spell|
"    SpellCap        Word that should start with a capital. |spell|
"    SpellLocal      Word that is recognized by the spellchecker as one that is
"    SpellRare       Word that is recognized by the spellchecker as one that is hardly ever used. |spell|
"    StatusLine      status line of current window
"    StatusLineNC    status lines of not-current windows
"    TabLine         tab pages line, not active tab page label
"    TabLineFill     tab pages line, where there are no labels
"    TabLineSel      tab pages line, active tab page label
"    Title           titles for output from ":set all", ":autocmd" etc.
"    Visual          Visual mode selection
"    VisualNOS       Visual mode selection when vim is "Not Owning the Selection".
"    WarningMsg      warning messages
"    WildMenu        current match in 'wildmenu' completion
hi ColorColumn  guifg=NONE              guibg=#EEEEDD
hi Cursor       guifg=bg                guibg=fg                gui=NONE
if hlexists('MayanSmokeCursorLine')
    hi link CursorColumn MayanSmokeCursorLine
    hi link CursorLine MayanSmokeCursorLine
elseif exists('g:mayansmoke_cursor_line_visibility') && g:mayansmoke_cursor_line_visibility >= 2
    hi CursorColumn guifg=NONE              guibg=NavajoWhite   gui=NONE
    hi CursorLine   guifg=NONE              guibg=NavajoWhite   gui=NONE
elseif exists('g:mayansmoke_cursor_line_visibility') && g:mayansmoke_cursor_line_visibility >= 1
    hi CursorColumn guifg=NONE              guibg=white         gui=NONE
    hi CursorLine   guifg=NONE              guibg=white         gui=NONE
else
    hi CursorColumn guifg=NONE              guibg=#FFFDD0       gui=NONE
    hi CursorLine   guifg=NONE              guibg=#FFFDD0       gui=NONE
endif
hi CursorIM     guifg=bg                guibg=fg                gui=NONE
hi lCursor      guifg=bg                guibg=fg                gui=NONE
hi DiffAdd      guifg=NONE              guibg=SeaGreen1         gui=NONE
hi DiffChange   guifg=NONE              guibg=LightSkyBlue1     gui=NONE
hi DiffDelete   guifg=NONE              guibg=LightCoral        gui=NONE
hi DiffText     guifg=black             guibg=LightCyan1        gui=NONE
hi Directory    guifg=#1600FF           guibg=bg                gui=NONE
hi ErrorMsg     guifg=Red2              guibg=NONE              gui=NONE
hi FoldColumn   guifg=SteelBlue4        guibg=LightYellow2      gui=bold
hi Folded       guifg=SteelBlue4        guibg=Gainsboro      gui=italic
if hlexists('MayanSmokeSearch')
    hi link IncSearch MayanSmokeSearch
    hi link Search MayanSmokeSearch
elseif exists('g:mayansmoke_search_visibility') && g:mayansmoke_search_visibility >= 4
    hi IncSearch    guifg=white             guibg=red           gui=NONE
    hi Search       guifg=white             guibg=red           gui=NONE
elseif exists('g:mayansmoke_search_visibility') && g:mayansmoke_search_visibility == 3
    hi IncSearch    guifg=black             guibg=gold       gui=NONE
    hi Search       guifg=black             guibg=gold        gui=NONE
elseif exists('g:mayansmoke_search_visibility') && g:mayansmoke_search_visibility == 2
    hi IncSearch    guifg=white             guibg=darkorange       gui=NONE
    hi Search       guifg=white             guibg=darkorange        gui=NONE
elseif exists('g:mayansmoke_search_visibility') && g:mayansmoke_search_visibility == 0
    hi IncSearch    guifg=black             guibg=tan         gui=NONE
    hi Search       guifg=black             guibg=tan         gui=NONE
else
    hi IncSearch    guifg=black             guibg=khaki          gui=NONE
    hi Search       guifg=black             guibg=khaki          gui=NONE
endif
hi LineNr       guifg=#666677           guibg=#cccfbf    gui=NONE
hi MatchParen   guifg=black             guibg=LemonChiffon3     gui=bold
hi ModeMsg      guifg=White             guibg=tomato1           gui=bold
hi MoreMsg      guifg=SeaGreen4         guibg=bg                gui=bold
hi NonText      guifg=LightCyan3        guibg=bg                gui=bold

hi Pmenu        guifg=Orange4           guibg=LightYellow3      gui=NONE
hi PmenuSel     guifg=ivory2            guibg=NavajoWhite4      gui=bold
hi PmenuSbar    guifg=White             guibg=#999666        gui=NONE
hi PmenuThumb   guifg=White             guibg=#7B7939        gui=NONE

hi Question     guifg=Chartreuse4       guibg=bg                gui=bold
hi SignColumn   guifg=white             guibg=LightYellow3      gui=NONE
if hlexists('MayanSmokeSpecialKey')
    hi link SpecialKey MayanSmokeSpecialKey
elseif exists('g:mayansmoke_special_key_visibility') && g:mayansmoke_special_key_visibility >= 2
    hi SpecialKey   guifg=black         guibg=NavajoWhite       gui=NONE
elseif exists('g:mayansmoke_special_key_visibility') && g:mayansmoke_special_key_visibility == 0
    hi SpecialKey   guifg=bisque3       guibg=NONE              gui=NONE
else
    hi SpecialKey   guifg=white         guibg=ivory3            gui=NONE
endif
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   guifg=#FFFEEE           guibg=#557788     gui=NONE
" hi StatusLineNC guifg=#EAE6E2           guibg=LightSteelBlue3    gui=italic
hi StatusLineNC guifg=#F4F4EE           guibg=#99aabb    gui=italic
hi TabLine      guifg=fg                guibg=LightGrey         gui=underline
hi TabLineFill  guifg=fg                guibg=bg                gui=reverse
hi TabLineSel   guifg=fg                guibg=bg                gui=bold
hi Title        guifg=DeepSkyBlue3      guibg=bg                gui=bold
hi VertSplit    guifg=#99aabb     guibg=#99aabb
hi Visual       guifg=white             guibg=DeepSkyBlue1      gui=NONE
hi WarningMsg   guifg=Firebrick2        guibg=bg                gui=NONE
hi WildMenu     guifg=Black             guibg=SkyBlue           gui=NONE
" }}}

" 256-Color Terminal Colors, by Clayton Parker {{{1
" =============================================================================
hi Normal cterm=NONE ctermfg=16  ctermbg=255
hi Comment      ctermfg=110
hi Constant     ctermfg=214
    hi String   ctermfg=30
    hi Boolean  ctermfg=88
hi Identifier   ctermfg=160
hi Function     ctermfg=132
hi Statement    ctermfg=21
hi Keyword      ctermfg=45
hi PreProc      ctermfg=27
hi Type         ctermfg=147
hi Special      ctermfg=64
hi Ignore       ctermfg=255
hi Error        ctermfg=196             ctermbg=255     term=none
hi Todo         ctermfg=136             ctermbg=255     cterm=NONE
hi VimError         ctermfg=160          ctermbg=16
hi VimCommentTitle  ctermfg=110
hi qfLineNr         ctermfg=16           ctermbg=46        cterm=NONE
hi pythonDecorator ctermfg=208   ctermbg=255 cterm=NONE
hi Cursor       ctermfg=255             ctermbg=16              cterm=NONE
hi CursorColumn ctermfg=NONE            ctermbg=255             cterm=NONE
hi CursorIM     ctermfg=255             ctermbg=16              cterm=NONE
hi CursorLine   ctermfg=NONE            ctermbg=254             cterm=NONE
hi lCursor      ctermfg=255             ctermbg=16              cterm=NONE
hi DiffAdd      ctermfg=16              ctermbg=48              cterm=NONE
hi DiffChange   ctermfg=16              ctermbg=153             cterm=NONE
hi DiffDelete   ctermfg=16              ctermbg=203             cterm=NONE
hi DiffText     ctermfg=16              ctermbg=226             cterm=NONE
hi Directory    ctermfg=21              ctermbg=255             cterm=NONE
hi ErrorMsg     ctermfg=160             ctermbg=NONE            cterm=NONE
hi FoldColumn   ctermfg=24              ctermbg=252             cterm=NONE
hi Folded       ctermfg=24              ctermbg=252             cterm=NONE
hi IncSearch    ctermfg=255             ctermbg=160             cterm=NONE
hi LineNr       ctermfg=253             ctermbg=110             cterm=NONE
hi NonText      ctermfg=110             ctermbg=255             cterm=NONE
hi Pmenu        ctermfg=fg              ctermbg=195             cterm=NONE
hi PmenuSbar    ctermfg=255             ctermbg=153             cterm=NONE
hi PmenuSel     ctermfg=255             ctermbg=21              cterm=NONE
hi PmenuThumb   ctermfg=111             ctermbg=255             cterm=NONE
hi SignColumn   ctermfg=110             ctermbg=254             cterm=NONE
hi Search       ctermfg=255             ctermbg=160             cterm=NONE
hi SpecialKey   ctermfg=255             ctermbg=144             cterm=NONE
hi SpellBad     ctermfg=16              ctermbg=229             cterm=NONE
hi SpellCap     ctermfg=16              ctermbg=231             cterm=NONE
hi SpellLocal   ctermfg=16              ctermbg=231             cterm=NONE
hi SpellRare    ctermfg=16              ctermbg=226             cterm=NONE
hi StatusLine   ctermfg=255             ctermbg=24              cterm=NONE
hi StatusLineNC ctermfg=253             ctermbg=110             cterm=NONE
hi Title        ctermfg=75              ctermbg=255             cterm=NONE
hi VertSplit    ctermfg=255             ctermbg=24              cterm=NONE
hi Visual       ctermfg=255             ctermbg=153             cterm=NONE
hi WildMenu     ctermfg=16              ctermbg=117             cterm=NONE

" 1}}}

"  Syntax {{{1
" =============================================================================

"  General {{{2
" -----------------------------------------------------------------------------
" Groups ('*' = major; see 'help group-name'):
"   *Comment        any comment
"   *Constant       any constant
"       String         a string constant: "this is a string"
"       Character      a character constant: 'c', '\n'
"       Number         a number constant: 234, 0xff
"       Boolean        a boolean constant: TRUE, false
"       Float          a floating point constant: 2.3e10
"   *Identifier     any variable name
"       Function       function name (also: methods for classes)
"   *Statement      any statement
"       Conditional    if, then, else, endif, switch, etc.
"       Repeat         for, do, while, etc.
"       Label          case, default, etc.
"       Operator       "sizeof", "+", "*", etc.
"       Keyword        any other keyword
"       Exception      try, catch, throw
"   *PreProc        generic Preprocessor
"       Include        preprocessor #include
"       Define         preprocessor #define
"       Macro          same as Define
"       PreCondit      preprocessor #if, #else, #endif, etc.
"   *Type           int, long, char, etc.
"       StorageClass   static, register, volatile, etc.
"       Structure      struct, union, enum, etc.
"       Typedef        A typedef
"   *Special        any special symbol
"       SpecialChar    special character in a constant
"       Tag            you can use CTRL-] on this
"       Delimiter      character that needs attention
"       SpecialComment special things inside a comment
"       Debug          debugging statements
"   *Error          any erroneous construct
"   *Todo           anything that needs extra attention
" hi Comment      guifg=#A2B5CD         guibg=NONE      gui=italic
hi Comment      guifg=#96AAC2         guibg=NONE      gui=italic
hi Constant     guifg=DarkOrange        guibg=NONE      gui=NONE
    hi String   guifg=Aquamarine4       guibg=NONE      gui=NONE
    hi Boolean  guifg=IndianRed4        guibg=NONE      gui=NONE
hi Identifier   guifg=brown3            guibg=NONE      gui=NONE
hi Function     guifg=VioletRed4        guibg=NONE      gui=NONE
hi Statement    guifg=blue1             guibg=NONE      gui=NONE
hi Keyword      guifg=DodgerBlue        guibg=NONE      gui=NONE
hi PreProc      guifg=blue1             guibg=NONE      gui=NONE
hi Type         guifg=LightSlateBlue    guibg=NONE      gui=NONE
hi Special      guifg=DarkOliveGreen4   guibg=NONE      gui=NONE
hi Ignore       guifg=bg                guibg=NONE      gui=NONE
hi Error        guifg=Red               guibg=NONE      gui=underline
hi Todo         guifg=tan4              guibg=NONE      gui=underline
" 2}}}

"  Vim {{{2
" -----------------------------------------------------------------------------
hi VimError         guifg=red            guibg=Black   gui=bold
hi VimCommentTitle  guifg=DarkSlateGray4 guibg=bg      gui=bold,italic
" 2}}}

" QuickFix {{{2
" -----------------------------------------------------------------------------

" syn match qfFileName  "^[^|]*" nextgroup=qfSeparator
" syn match qfSeparator "|" nextgroup=qfLineNr contained
" syn match qfLineNr    "[^|]*" contained contains=qfError
" syn match qfError     "error" contained
hi qfFileName  guifg=LightSkyBlue4     guibg=NONE      gui=italic
hi qfLineNr    guifg=coral             guibg=NONE      gui=bold
hi qfError     guifg=red               guibg=NONE      gui=bold
" 2}}}

" Python {{{2
" -----------------------------------------------------------------------------
hi pythonDecorator  guifg=orange3 guibg=NONE gui=bold
hi link pythonDecoratorFunction pythonDecorator
" 2}}}

" Diff {{{2
" -----------------------------------------------------------------------------
hi diffOldFile          guifg=#006666           guibg=NONE      gui=NONE
hi diffNewFile          guifg=#0088FF           guibg=NONE      gui=bold
hi diffFile             guifg=#0000FF           guibg=NONE      gui=NONE
hi link diffOnly        Constant
hi link diffIdentical   Constant
hi link diffDiffer      Constant
hi link diffBDiffer     Constant
hi link diffIsA         Constant
hi link diffNoEOL       Constant
hi link diffCommon      Constant
hi diffRemoved          guifg=#BB0000           guibg=NONE      gui=NONE
hi diffChanged          guifg=DarkSeaGreen      guibg=NONE      gui=NONE
hi diffAdded            guifg=#00AA00           guibg=NONE      gui=NONE
hi diffLine             guifg=thistle4          guibg=NONE      gui=italic
hi link diffSubname     diffLine
hi link diffComment     Comment
" 2}}}

" PHP (contributed by Ryan Kulla) {{{2
" -----------------------------------------------------------------------------
" Ryan Kulla's addition for PHP syntax highlighting (for regular/terminal vim)
hi phpConditional ctermfg=21 cterm=NONE guifg=black
hi phpIdentifier ctermfg=0 cterm=NONE guifg=black
hi phpOperator ctermfg=black cterm=NONE guifg=black
hi phpRegion ctermfg=132 cterm=NONE guifg=VioletRed4
hi phpComparison ctermfg=black cterm=NONE guifg=black
hi phpType ctermfg=darkgreen cterm=NONE guifg=darkgreen
hi phpParent ctermfg=black cterm=NONE guifg=black
hi phpMethodsVar ctermfg=132 cterm=NONE guifg=VioletRed4
hi phpStatement ctermfg=21 cterm=NONE guifg=blue
hi phpStorageClass ctermfg=21 cterm=NONE guifg=blue
hi phpStringSingle ctermfg=30 cterm=NONE guifg=Aquamarine4
hi phpStringDouble ctermfg=30 cterm=NONE guifg=Aquamarine4
hi phpFunctions ctermfg=21 cterm=NONE guifg=blue
hi phpSpecialFunction ctermfg=21 cterm=NONE guifg=blue
hi phpRepeat ctermfg=21 cterm=NONE guifg=blue
hi phpNumber ctermfg=214 cterm=bold guifg=brown
hi phpTodo ctermfg=red cterm=bold guifg=red gui=bold
hi phpDefine ctermfg=21 cterm=NONE guifg=blue
hi phpConstant ctermfg=21 cterm=NONE guifg=black
hi phpCoreConstant ctermfg=21 cterm=NONE guifg=black
hi phpMemberSelector ctermfg=black cterm=NONE guifg=black
hi phpLabel ctermfg=21 cterm=NONE guifg=blue
hi phpStructure ctermfg=black cterm=NONE guifg=black
hi phpRelation ctermfg=black cterm=NONE guifg=black
hi phpEnvVar ctermfg=black cterm=NONE guifg=black
hi phpIntVar ctermfg=0 cterm=bold guifg=black gui=bold
hi phpBoolean ctermfg=58 cterm=NONE guifg=brown
" 2}}}

" 1}}}