mayansmoke.vim 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343
  1. " =============================================================================
  2. "
  3. " File: mayansmoke.vim
  4. " Description: Vim color scheme file
  5. " Maintainer: Jeet Sukumaran (GUI colors); Clayton Parker (cterm colors)
  6. "
  7. " =============================================================================
  8. " Initialization and Setup {{{1
  9. " =============================================================================
  10. set background=light
  11. highlight clear
  12. if exists("syntax_on")
  13. syntax reset
  14. endif
  15. let colors_name = "mayansmoke"
  16. " }}}
  17. " Normal Color {{{1
  18. " =============================================================================
  19. hi Normal gui=NONE guifg=Black guibg=#F4F4E8
  20. " }}}
  21. " Highlight Groups {{{1
  22. " =============================================================================
  23. " Groups (see ':help highlight-groups'):
  24. " ColorColumn highlight to use with ':set colorcolumn'
  25. " Cursor the character under the cursor
  26. " CursorIM like Cursor, but used when in IME mode |CursorIM|
  27. " CursorColumn the screen column that the cursor is in when 'cursorcolumn' is set
  28. " CursorLine the screen line that the cursor is in when 'cursorline' is set
  29. " Directory directory names (and other special names in listings)
  30. " DiffAdd diff mode: Added line |diff.txt|
  31. " DiffChange diff mode: Changed line |diff.txt|
  32. " DiffDelete diff mode: Deleted line |diff.txt|
  33. " DiffText diff mode: Changed text within a changed line |diff.txt|
  34. " ErrorMsg error messages on the command line
  35. " VertSplit the column separating vertically split windows
  36. " Folded line used for closed folds
  37. " FoldColumn 'foldcolumn'
  38. " SignColumn column where |signs| are displayed
  39. " IncSearch 'incsearch' highlighting; also used for the text replaced with ":s///c"
  40. " LineNr Line number for ":number" and ":#" commands, and when 'number' option is set.
  41. " MatchParen The character under the cursor or just before it, if it is a paired bracket, and its match. |pi_paren.txt|
  42. " ModeMsg 'showmode' message (e.g., "-- INSERT --")
  43. " MoreMsg |more-prompt|
  44. " NonText '~' and '@' at the end of the window, etc.
  45. " Normal normal text
  46. " Pmenu Popup menu: normal item.
  47. " PmenuSel Popup menu: selected item.
  48. " PmenuSbar Popup menu: scrollbar.
  49. " PmenuThumb Popup menu: Thumb of the scrollbar.
  50. " Question |hit-enter| prompt and yes/no questions
  51. " Search Last search pattern highlighting (see 'hlsearch').
  52. " 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.).
  53. " SpellBad Word that is not recognized by the spellchecker. |spell|
  54. " SpellCap Word that should start with a capital. |spell|
  55. " SpellLocal Word that is recognized by the spellchecker as one that is
  56. " SpellRare Word that is recognized by the spellchecker as one that is hardly ever used. |spell|
  57. " StatusLine status line of current window
  58. " StatusLineNC status lines of not-current windows
  59. " TabLine tab pages line, not active tab page label
  60. " TabLineFill tab pages line, where there are no labels
  61. " TabLineSel tab pages line, active tab page label
  62. " Title titles for output from ":set all", ":autocmd" etc.
  63. " Visual Visual mode selection
  64. " VisualNOS Visual mode selection when vim is "Not Owning the Selection".
  65. " WarningMsg warning messages
  66. " WildMenu current match in 'wildmenu' completion
  67. hi ColorColumn guifg=NONE guibg=#EEEEDD
  68. hi Cursor guifg=bg guibg=fg gui=NONE
  69. if hlexists('MayanSmokeCursorLine')
  70. hi link CursorColumn MayanSmokeCursorLine
  71. hi link CursorLine MayanSmokeCursorLine
  72. elseif exists('g:mayansmoke_cursor_line_visibility') && g:mayansmoke_cursor_line_visibility >= 2
  73. hi CursorColumn guifg=NONE guibg=NavajoWhite gui=NONE
  74. hi CursorLine guifg=NONE guibg=NavajoWhite gui=NONE
  75. elseif exists('g:mayansmoke_cursor_line_visibility') && g:mayansmoke_cursor_line_visibility >= 1
  76. hi CursorColumn guifg=NONE guibg=white gui=NONE
  77. hi CursorLine guifg=NONE guibg=white gui=NONE
  78. else
  79. hi CursorColumn guifg=NONE guibg=#FFFDD0 gui=NONE
  80. hi CursorLine guifg=NONE guibg=#FFFDD0 gui=NONE
  81. endif
  82. hi CursorIM guifg=bg guibg=fg gui=NONE
  83. hi lCursor guifg=bg guibg=fg gui=NONE
  84. hi DiffAdd guifg=NONE guibg=SeaGreen1 gui=NONE
  85. hi DiffChange guifg=NONE guibg=LightSkyBlue1 gui=NONE
  86. hi DiffDelete guifg=NONE guibg=LightCoral gui=NONE
  87. hi DiffText guifg=black guibg=LightCyan1 gui=NONE
  88. hi Directory guifg=#1600FF guibg=bg gui=NONE
  89. hi ErrorMsg guifg=Red2 guibg=NONE gui=NONE
  90. hi FoldColumn guifg=SteelBlue4 guibg=LightYellow2 gui=bold
  91. hi Folded guifg=SteelBlue4 guibg=Gainsboro gui=italic
  92. if hlexists('MayanSmokeSearch')
  93. hi link IncSearch MayanSmokeSearch
  94. hi link Search MayanSmokeSearch
  95. elseif exists('g:mayansmoke_search_visibility') && g:mayansmoke_search_visibility >= 4
  96. hi IncSearch guifg=white guibg=red gui=NONE
  97. hi Search guifg=white guibg=red gui=NONE
  98. elseif exists('g:mayansmoke_search_visibility') && g:mayansmoke_search_visibility == 3
  99. hi IncSearch guifg=black guibg=gold gui=NONE
  100. hi Search guifg=black guibg=gold gui=NONE
  101. elseif exists('g:mayansmoke_search_visibility') && g:mayansmoke_search_visibility == 2
  102. hi IncSearch guifg=white guibg=darkorange gui=NONE
  103. hi Search guifg=white guibg=darkorange gui=NONE
  104. elseif exists('g:mayansmoke_search_visibility') && g:mayansmoke_search_visibility == 0
  105. hi IncSearch guifg=black guibg=tan gui=NONE
  106. hi Search guifg=black guibg=tan gui=NONE
  107. else
  108. hi IncSearch guifg=black guibg=khaki gui=NONE
  109. hi Search guifg=black guibg=khaki gui=NONE
  110. endif
  111. hi LineNr guifg=#666677 guibg=#cccfbf gui=NONE
  112. hi MatchParen guifg=black guibg=LemonChiffon3 gui=bold
  113. hi ModeMsg guifg=White guibg=tomato1 gui=bold
  114. hi MoreMsg guifg=SeaGreen4 guibg=bg gui=bold
  115. hi NonText guifg=LightCyan3 guibg=bg gui=bold
  116. hi Pmenu guifg=Orange4 guibg=LightYellow3 gui=NONE
  117. hi PmenuSel guifg=ivory2 guibg=NavajoWhite4 gui=bold
  118. hi PmenuSbar guifg=White guibg=#999666 gui=NONE
  119. hi PmenuThumb guifg=White guibg=#7B7939 gui=NONE
  120. hi Question guifg=Chartreuse4 guibg=bg gui=bold
  121. hi SignColumn guifg=white guibg=LightYellow3 gui=NONE
  122. if hlexists('MayanSmokeSpecialKey')
  123. hi link SpecialKey MayanSmokeSpecialKey
  124. elseif exists('g:mayansmoke_special_key_visibility') && g:mayansmoke_special_key_visibility >= 2
  125. hi SpecialKey guifg=black guibg=NavajoWhite gui=NONE
  126. elseif exists('g:mayansmoke_special_key_visibility') && g:mayansmoke_special_key_visibility == 0
  127. hi SpecialKey guifg=bisque3 guibg=NONE gui=NONE
  128. else
  129. hi SpecialKey guifg=white guibg=ivory3 gui=NONE
  130. endif
  131. hi SpellBad guisp=Firebrick2 gui=undercurl
  132. hi SpellCap guisp=Blue gui=undercurl
  133. hi SpellLocal guisp=DarkCyan gui=undercurl
  134. hi SpellRare guisp=Magenta gui=undercurl
  135. hi StatusLine guifg=#FFFEEE guibg=#557788 gui=NONE
  136. " hi StatusLineNC guifg=#EAE6E2 guibg=LightSteelBlue3 gui=italic
  137. hi StatusLineNC guifg=#F4F4EE guibg=#99aabb gui=italic
  138. hi TabLine guifg=fg guibg=LightGrey gui=underline
  139. hi TabLineFill guifg=fg guibg=bg gui=reverse
  140. hi TabLineSel guifg=fg guibg=bg gui=bold
  141. hi Title guifg=DeepSkyBlue3 guibg=bg gui=bold
  142. hi VertSplit guifg=#99aabb guibg=#99aabb
  143. hi Visual guifg=white guibg=DeepSkyBlue1 gui=NONE
  144. hi WarningMsg guifg=Firebrick2 guibg=bg gui=NONE
  145. hi WildMenu guifg=Black guibg=SkyBlue gui=NONE
  146. " }}}
  147. " 256-Color Terminal Colors, by Clayton Parker {{{1
  148. " =============================================================================
  149. hi Normal cterm=NONE ctermfg=16 ctermbg=255
  150. hi Comment ctermfg=110
  151. hi Constant ctermfg=214
  152. hi String ctermfg=30
  153. hi Boolean ctermfg=88
  154. hi Identifier ctermfg=160
  155. hi Function ctermfg=132
  156. hi Statement ctermfg=21
  157. hi Keyword ctermfg=45
  158. hi PreProc ctermfg=27
  159. hi Type ctermfg=147
  160. hi Special ctermfg=64
  161. hi Ignore ctermfg=255
  162. hi Error ctermfg=196 ctermbg=255 term=none
  163. hi Todo ctermfg=136 ctermbg=255 cterm=NONE
  164. hi VimError ctermfg=160 ctermbg=16
  165. hi VimCommentTitle ctermfg=110
  166. hi qfLineNr ctermfg=16 ctermbg=46 cterm=NONE
  167. hi pythonDecorator ctermfg=208 ctermbg=255 cterm=NONE
  168. hi Cursor ctermfg=255 ctermbg=16 cterm=NONE
  169. hi CursorColumn ctermfg=NONE ctermbg=255 cterm=NONE
  170. hi CursorIM ctermfg=255 ctermbg=16 cterm=NONE
  171. hi CursorLine ctermfg=NONE ctermbg=254 cterm=NONE
  172. hi lCursor ctermfg=255 ctermbg=16 cterm=NONE
  173. hi DiffAdd ctermfg=16 ctermbg=48 cterm=NONE
  174. hi DiffChange ctermfg=16 ctermbg=153 cterm=NONE
  175. hi DiffDelete ctermfg=16 ctermbg=203 cterm=NONE
  176. hi DiffText ctermfg=16 ctermbg=226 cterm=NONE
  177. hi Directory ctermfg=21 ctermbg=255 cterm=NONE
  178. hi ErrorMsg ctermfg=160 ctermbg=NONE cterm=NONE
  179. hi FoldColumn ctermfg=24 ctermbg=252 cterm=NONE
  180. hi Folded ctermfg=24 ctermbg=252 cterm=NONE
  181. hi IncSearch ctermfg=255 ctermbg=160 cterm=NONE
  182. hi LineNr ctermfg=253 ctermbg=110 cterm=NONE
  183. hi NonText ctermfg=110 ctermbg=255 cterm=NONE
  184. hi Pmenu ctermfg=fg ctermbg=195 cterm=NONE
  185. hi PmenuSbar ctermfg=255 ctermbg=153 cterm=NONE
  186. hi PmenuSel ctermfg=255 ctermbg=21 cterm=NONE
  187. hi PmenuThumb ctermfg=111 ctermbg=255 cterm=NONE
  188. hi SignColumn ctermfg=110 ctermbg=254 cterm=NONE
  189. hi Search ctermfg=255 ctermbg=160 cterm=NONE
  190. hi SpecialKey ctermfg=255 ctermbg=144 cterm=NONE
  191. hi SpellBad ctermfg=16 ctermbg=229 cterm=NONE
  192. hi SpellCap ctermfg=16 ctermbg=231 cterm=NONE
  193. hi SpellLocal ctermfg=16 ctermbg=231 cterm=NONE
  194. hi SpellRare ctermfg=16 ctermbg=226 cterm=NONE
  195. hi StatusLine ctermfg=255 ctermbg=24 cterm=NONE
  196. hi StatusLineNC ctermfg=253 ctermbg=110 cterm=NONE
  197. hi Title ctermfg=75 ctermbg=255 cterm=NONE
  198. hi VertSplit ctermfg=255 ctermbg=24 cterm=NONE
  199. hi Visual ctermfg=255 ctermbg=153 cterm=NONE
  200. hi WildMenu ctermfg=16 ctermbg=117 cterm=NONE
  201. " 1}}}
  202. " Syntax {{{1
  203. " =============================================================================
  204. " General {{{2
  205. " -----------------------------------------------------------------------------
  206. " Groups ('*' = major; see 'help group-name'):
  207. " *Comment any comment
  208. " *Constant any constant
  209. " String a string constant: "this is a string"
  210. " Character a character constant: 'c', '\n'
  211. " Number a number constant: 234, 0xff
  212. " Boolean a boolean constant: TRUE, false
  213. " Float a floating point constant: 2.3e10
  214. " *Identifier any variable name
  215. " Function function name (also: methods for classes)
  216. " *Statement any statement
  217. " Conditional if, then, else, endif, switch, etc.
  218. " Repeat for, do, while, etc.
  219. " Label case, default, etc.
  220. " Operator "sizeof", "+", "*", etc.
  221. " Keyword any other keyword
  222. " Exception try, catch, throw
  223. " *PreProc generic Preprocessor
  224. " Include preprocessor #include
  225. " Define preprocessor #define
  226. " Macro same as Define
  227. " PreCondit preprocessor #if, #else, #endif, etc.
  228. " *Type int, long, char, etc.
  229. " StorageClass static, register, volatile, etc.
  230. " Structure struct, union, enum, etc.
  231. " Typedef A typedef
  232. " *Special any special symbol
  233. " SpecialChar special character in a constant
  234. " Tag you can use CTRL-] on this
  235. " Delimiter character that needs attention
  236. " SpecialComment special things inside a comment
  237. " Debug debugging statements
  238. " *Error any erroneous construct
  239. " *Todo anything that needs extra attention
  240. " hi Comment guifg=#A2B5CD guibg=NONE gui=italic
  241. hi Comment guifg=#96AAC2 guibg=NONE gui=italic
  242. hi Constant guifg=DarkOrange guibg=NONE gui=NONE
  243. hi String guifg=Aquamarine4 guibg=NONE gui=NONE
  244. hi Boolean guifg=IndianRed4 guibg=NONE gui=NONE
  245. hi Identifier guifg=brown3 guibg=NONE gui=NONE
  246. hi Function guifg=VioletRed4 guibg=NONE gui=NONE
  247. hi Statement guifg=blue1 guibg=NONE gui=NONE
  248. hi Keyword guifg=DodgerBlue guibg=NONE gui=NONE
  249. hi PreProc guifg=blue1 guibg=NONE gui=NONE
  250. hi Type guifg=LightSlateBlue guibg=NONE gui=NONE
  251. hi Special guifg=DarkOliveGreen4 guibg=NONE gui=NONE
  252. hi Ignore guifg=bg guibg=NONE gui=NONE
  253. hi Error guifg=Red guibg=NONE gui=underline
  254. hi Todo guifg=tan4 guibg=NONE gui=underline
  255. " 2}}}
  256. " Vim {{{2
  257. " -----------------------------------------------------------------------------
  258. hi VimError guifg=red guibg=Black gui=bold
  259. hi VimCommentTitle guifg=DarkSlateGray4 guibg=bg gui=bold,italic
  260. " 2}}}
  261. " QuickFix {{{2
  262. " -----------------------------------------------------------------------------
  263. " syn match qfFileName "^[^|]*" nextgroup=qfSeparator
  264. " syn match qfSeparator "|" nextgroup=qfLineNr contained
  265. " syn match qfLineNr "[^|]*" contained contains=qfError
  266. " syn match qfError "error" contained
  267. hi qfFileName guifg=LightSkyBlue4 guibg=NONE gui=italic
  268. hi qfLineNr guifg=coral guibg=NONE gui=bold
  269. hi qfError guifg=red guibg=NONE gui=bold
  270. " 2}}}
  271. " Python {{{2
  272. " -----------------------------------------------------------------------------
  273. hi pythonDecorator guifg=orange3 guibg=NONE gui=bold
  274. hi link pythonDecoratorFunction pythonDecorator
  275. " 2}}}
  276. " Diff {{{2
  277. " -----------------------------------------------------------------------------
  278. hi diffOldFile guifg=#006666 guibg=NONE gui=NONE
  279. hi diffNewFile guifg=#0088FF guibg=NONE gui=bold
  280. hi diffFile guifg=#0000FF guibg=NONE gui=NONE
  281. hi link diffOnly Constant
  282. hi link diffIdentical Constant
  283. hi link diffDiffer Constant
  284. hi link diffBDiffer Constant
  285. hi link diffIsA Constant
  286. hi link diffNoEOL Constant
  287. hi link diffCommon Constant
  288. hi diffRemoved guifg=#BB0000 guibg=NONE gui=NONE
  289. hi diffChanged guifg=DarkSeaGreen guibg=NONE gui=NONE
  290. hi diffAdded guifg=#00AA00 guibg=NONE gui=NONE
  291. hi diffLine guifg=thistle4 guibg=NONE gui=italic
  292. hi link diffSubname diffLine
  293. hi link diffComment Comment
  294. " 2}}}
  295. " PHP (contributed by Ryan Kulla) {{{2
  296. " -----------------------------------------------------------------------------
  297. " Ryan Kulla's addition for PHP syntax highlighting (for regular/terminal vim)
  298. hi phpConditional ctermfg=21 cterm=NONE guifg=black
  299. hi phpIdentifier ctermfg=0 cterm=NONE guifg=black
  300. hi phpOperator ctermfg=black cterm=NONE guifg=black
  301. hi phpRegion ctermfg=132 cterm=NONE guifg=VioletRed4
  302. hi phpComparison ctermfg=black cterm=NONE guifg=black
  303. hi phpType ctermfg=darkgreen cterm=NONE guifg=darkgreen
  304. hi phpParent ctermfg=black cterm=NONE guifg=black
  305. hi phpMethodsVar ctermfg=132 cterm=NONE guifg=VioletRed4
  306. hi phpStatement ctermfg=21 cterm=NONE guifg=blue
  307. hi phpStorageClass ctermfg=21 cterm=NONE guifg=blue
  308. hi phpStringSingle ctermfg=30 cterm=NONE guifg=Aquamarine4
  309. hi phpStringDouble ctermfg=30 cterm=NONE guifg=Aquamarine4
  310. hi phpFunctions ctermfg=21 cterm=NONE guifg=blue
  311. hi phpSpecialFunction ctermfg=21 cterm=NONE guifg=blue
  312. hi phpRepeat ctermfg=21 cterm=NONE guifg=blue
  313. hi phpNumber ctermfg=214 cterm=bold guifg=brown
  314. hi phpTodo ctermfg=red cterm=bold guifg=red gui=bold
  315. hi phpDefine ctermfg=21 cterm=NONE guifg=blue
  316. hi phpConstant ctermfg=21 cterm=NONE guifg=black
  317. hi phpCoreConstant ctermfg=21 cterm=NONE guifg=black
  318. hi phpMemberSelector ctermfg=black cterm=NONE guifg=black
  319. hi phpLabel ctermfg=21 cterm=NONE guifg=blue
  320. hi phpStructure ctermfg=black cterm=NONE guifg=black
  321. hi phpRelation ctermfg=black cterm=NONE guifg=black
  322. hi phpEnvVar ctermfg=black cterm=NONE guifg=black
  323. hi phpIntVar ctermfg=0 cterm=bold guifg=black gui=bold
  324. hi phpBoolean ctermfg=58 cterm=NONE guifg=brown
  325. " 2}}}
  326. " 1}}}