a duotonic color scheme

Compare changes

Choose any two refs to compare.

+1
.gitignore
···
··· 1 + result
-48
README.md
··· 1 - # vim-colors-plain 2 - 3 - This is a fork of [vim-colors-off][] which is being developed based on my 4 - personal taste. 5 - 6 - ![Screenshot](screenshots/plain-dark.png) 7 - ![Screenshot](screenshots/plain-light.png) 8 - 9 - ## Motivation 10 - 11 - Minimalistic colorscheme which uses bold to highlight keywords and a 12 - distinguished color for constant literals (string, numbers, JSX tags). 13 - 14 - ## Installation & Usage 15 - 16 - With [vim-plug][] you add this to the `.vimrc`: 17 - 18 - ``` 19 - Plug 'andreypopp/vim-colors-plain' 20 - ``` 21 - 22 - Then: 23 - 24 - ``` 25 - set background=light " Set to dark for a dark variant 26 - colorscheme plain 27 - ``` 28 - 29 - ## FAQ 30 - 31 - - What terminal emulator is shown on the screenshots? 32 - 33 - This is [kitty][]. Fast and highly configurable. 34 - 35 - - Is this Vim or Neovim on the screenshots and why? 36 - 37 - This is Neovim. 38 - 39 - - What font is being used on the screenshots? 40 - 41 - [Pragmata Pro][] which is not free but worth the money paid. [Iosevka][] is 42 - another great font I used before which is similar in feel. 43 - 44 - [vim-colors-off]: https://github.com/pbrisbin/vim-colors-off 45 - [vim-plug]: https://github.com/junegunn/vim-plug 46 - [kitty]: https://github.com/kovidgoyal/kitty 47 - [Pragmata Pro]: https://www.fsd.it/shop/fonts/pragmatapro/ 48 - [Iosevka]: https://github.com/be5invis/Iosevka
···
+223 -77
colors/plain.vim
··· 21 let g:colors_name='plain' 22 23 let s:black = { "gui": "#222222", "cterm": "0" } 24 - let s:medium_gray = { "gui": "#767676", "cterm": "243" } 25 - let s:white = { "gui": "#F1F1F1", "cterm": "15" } 26 - let s:actual_white = { "gui": "#FFFFFF", "cterm": "231" } 27 let s:light_black = { "gui": "#424242", "cterm": "8" } 28 - let s:lighter_black = { "gui": "#545454", "cterm": "240" } 29 - let s:subtle_black = { "gui": "#303030", "cterm": "236" } 30 - let s:light_gray = { "gui": "#999999", "cterm": "249" } 31 - let s:lighter_gray = { "gui": "#CCCCCC", "cterm": "251" } 32 - let s:pink = { "gui": "#fb007a", "cterm": "9" } 33 let s:dark_red = { "gui": "#C30771", "cterm": "1" } 34 let s:light_red = { "gui": "#E32791", "cterm": "1" } 35 - let s:orange = { "gui": "#D75F5F", "cterm": "167" } 36 - let s:darker_blue = { "gui": "#005F87", "cterm": "18" } 37 let s:dark_blue = { "gui": "#008EC4", "cterm": "4" } 38 - let s:blue = { "gui": "#20BBFC", "cterm": "12" } 39 - let s:light_blue = { "gui": "#b6d6fd", "cterm": "153" } 40 let s:dark_cyan = { "gui": "#20A5BA", "cterm": "6" } 41 - let s:light_cyan = { "gui": "#4FB8CC", "cterm": "14" } 42 - let s:dark_green = { "gui": "#10A778", "cterm": "2" } 43 - let s:light_green = { "gui": "#5FD7A7", "cterm": "10" } 44 let s:dark_purple = { "gui": "#523C79", "cterm": "5" } 45 - let s:light_purple = { "gui": "#6855DE", "cterm": "13" } 46 - let s:light_yellow = { "gui": "#F3E430", "cterm": "11" } 47 let s:dark_yellow = { "gui": "#A89C14", "cterm": "3" } 48 49 if &background == "dark" ··· 57 let s:green = s:light_green 58 let s:red = s:light_red 59 let s:yellow = s:light_yellow 60 - let s:visual = s:lighter_black 61 let s:cursor_line = s:subtle_black 62 - let s:status_line = s:light_gray 63 - let s:status_line_nc = s:light_black 64 - let s:constant = s:light_blue 65 - let s:comment = s:light_gray 66 - let s:selection = s:light_yellow 67 else 68 let s:bg = s:white 69 let s:bg_subtle = s:lighter_gray ··· 76 let s:red = s:dark_red 77 let s:yellow = s:dark_yellow 78 let s:visual = s:light_blue 79 - let s:cursor_line = s:lighter_gray 80 - let s:status_line = s:light_black 81 - let s:status_line_nc = s:light_gray 82 let s:constant = s:dark_blue 83 let s:comment = s:light_gray 84 let s:selection = s:light_yellow 85 endif 86 87 " https://github.com/noahfrederick/vim-hemisu/ ··· 96 \ "cterm=" (has_key(a:style, "cterm") ? a:style.cterm : "NONE") 97 endfunction 98 99 - call s:h("Normal", {"bg": s:bg, "fg": s:norm}) 100 - call s:h("Noise", {"bg": s:bg, "fg": s:norm_subtle}) 101 - call s:h("Cursor", {"bg": s:blue, "fg": s:norm}) 102 - call s:h("Comment", {"fg": s:comment, "gui": "italic"}) 103 104 - call s:h("Constant", {"bg": s:bg, "fg": s:constant}) 105 hi! link Character Constant 106 hi! link Number Constant 107 hi! link Boolean Constant ··· 110 111 "call s:h("Identifier", {"fg": s:dark_blue}) 112 hi! link Identifier Normal 113 - hi! link Function Identifier 114 115 "hi! link Statement Normal 116 - call s:h("Statement", {"bg": s:bg, "fg": s:norm, "gui": "bold"}) 117 hi! link Conditonal Statement 118 hi! link Repeat Statement 119 hi! link Label Statement ··· 129 hi! link PreCondit PreProc 130 131 "call s:h("Type", {"fg": s:purple}) 132 - hi! link Type Normal 133 hi! link StorageClass Type 134 - hi! link Structure Type 135 - hi! link Typedef Type 136 137 "call s:h("Special", {"fg": s:pink}) 138 - hi! link Special Normal 139 hi! link SpecialChar Special 140 hi! link Tag Special 141 hi! link Delimiter Special 142 hi! link SpecialComment Special 143 hi! link Debug Special 144 145 call s:h("Underlined", {"fg": s:norm, "gui": "underline", "cterm": "underline"}) 146 call s:h("Ignore", {"fg": s:bg}) 147 - call s:h("Error", {"fg": s:red, "bg": s:bg, "cterm": "bold"}) 148 - call s:h("Todo", {"fg": s:actual_white, "bg": s:pink, "gui": "bold", "cterm": "bold"}) 149 - call s:h("SpecialKey", {"fg": s:light_green}) 150 - call s:h("NonText", {"fg": s:medium_gray}) 151 - call s:h("Directory", {"fg": s:dark_blue}) 152 call s:h("ErrorMsg", {"fg": s:pink}) 153 - call s:h("IncSearch", {"bg": s:selection, "fg": s:light_black}) 154 - call s:h("Search", {"bg": s:selection, "fg": s:light_black}) 155 call s:h("MoreMsg", {"fg": s:medium_gray, "cterm": "bold", "gui": "bold"}) 156 hi! link ModeMsg MoreMsg 157 - call s:h("LineNr", {"fg": s:bg_subtle}) 158 - call s:h("CursorLineNr", {"fg": s:blue, "bg": s:bg_very_subtle}) 159 call s:h("Question", {"fg": s:red}) 160 - call s:h("VertSplit", {"bg": s:bg_very_subtle, "fg": s:bg_very_subtle}) 161 - call s:h("Title", {"fg": s:dark_blue}) 162 call s:h("Visual", {"bg": s:visual}) 163 call s:h("VisualNOS", {"bg": s:bg_subtle}) 164 - call s:h("WarningMsg", {"fg": s:red}) 165 - call s:h("WildMenu", {"fg": s:black, "bg": s:bg_very_subtle}) 166 call s:h("Folded", {"fg": s:medium_gray}) 167 call s:h("FoldColumn", {"fg": s:bg_subtle}) 168 call s:h("DiffAdd", {"fg": s:green}) 169 call s:h("DiffDelete", {"fg": s:red}) 170 call s:h("DiffChange", {"fg": s:dark_yellow}) 171 - call s:h("DiffText", {"fg": s:dark_blue}) 172 - call s:h("SignColumn", {"fg": s:light_green}) 173 174 if has("gui_running") 175 call s:h("SpellBad", {"gui": "underline", "sp": s:red}) ··· 184 endif 185 186 """ StatusLine 187 - 188 - call s:h("StatusLine", {"gui": "underline", "bg": s:bg, "fg": s:status_line}) 189 - call s:h("StatusLineNC", {"gui": "underline", "bg": s:bg, "fg": s:status_line_nc}) 190 191 " Those are not standard but are useful to emphasis different parts of the 192 " status line. 193 call s:h("StatusLineOk", {"gui": "underline", "bg": s:bg, "fg": s:green}) 194 call s:h("StatusLineError", {"gui": "underline", "bg": s:bg, "fg": s:pink}) 195 - call s:h("StatusLineWarning", {"gui": "underline", "bg": s:bg, "fg": s:dark_yellow}) 196 197 - call s:h("Pmenu", {"fg": s:norm, "bg": s:cursor_line}) 198 - call s:h("PmenuSel", {"fg": s:norm, "bg": s:blue}) 199 call s:h("PmenuSbar", {"fg": s:norm, "bg": s:bg_subtle}) 200 call s:h("PmenuThumb", {"fg": s:norm, "bg": s:bg_subtle}) 201 - call s:h("TabLine", {"fg": s:norm, "bg": s:bg_very_subtle}) 202 - call s:h("TabLineSel", {"fg": s:blue, "bg": s:bg_subtle, "gui": "bold", "cterm": "bold"}) 203 - call s:h("TabLineFill", {"fg": s:norm, "bg": s:bg_very_subtle}) 204 call s:h("CursorColumn", {"bg": s:bg_very_subtle}) 205 call s:h("CursorLine", {"bg": s:cursor_line}) 206 call s:h("ColorColumn", {"bg": s:bg_subtle}) 207 208 - call s:h("MatchParen", {"bg": s:bg_subtle, "fg": s:norm}) 209 - call s:h("qfLineNr", {"fg": s:medium_gray}) 210 211 - call s:h("htmlH1", {"bg": s:bg, "fg": s:norm}) 212 - call s:h("htmlH2", {"bg": s:bg, "fg": s:norm}) 213 - call s:h("htmlH3", {"bg": s:bg, "fg": s:norm}) 214 - call s:h("htmlH4", {"bg": s:bg, "fg": s:norm}) 215 - call s:h("htmlH5", {"bg": s:bg, "fg": s:norm}) 216 - call s:h("htmlH6", {"bg": s:bg, "fg": s:norm}) 217 218 hi link diffRemoved DiffDelete 219 hi link diffAdded DiffAdd 220 221 " Signify, git-gutter 222 hi link SignifySignAdd LineNr 223 hi link SignifySignDelete LineNr ··· 229 230 hi link jsFlowTypeKeyword Statement 231 hi link jsFlowImportType Statement 232 - hi link jsFunction Statement 233 - hi link jsGlobalObjects Normal 234 hi link jsGlobalNodeObjects Normal 235 - hi link jsArrowFunction Noise 236 hi link StorageClass Statement 237 238 - call s:h("xmlTag", {"bg": s:bg, "fg": s:constant}) 239 hi link xmlTagName xmlTag 240 hi link xmlEndTag xmlTag 241 hi link xmlAttrib xmlTag ··· 246 hi link markdownH4 Statement 247 hi link markdownH5 Statement 248 hi link markdownH6 Statement 249 - hi link markdownListMarker Statement 250 - hi link markdownCode Statement 251 - hi link markdownCodeDelimiter Statement 252 - hi link markdownHeadingDelimiter Statement
··· 21 let g:colors_name='plain' 22 23 let s:black = { "gui": "#222222", "cterm": "0" } 24 + let s:medium_gray = { "gui": "#767676", "cterm": "8" } 25 + let s:white = { "gui": "#F1F1F1", "cterm": "7" } 26 + let s:actual_white = { "gui": "#FFFFFF", "cterm": "15" } 27 let s:light_black = { "gui": "#424242", "cterm": "8" } 28 + let s:lighter_black = { "gui": "#545454", "cterm": "8" } 29 + let s:subtle_black = { "gui": "#303030", "cterm": "11" } 30 + let s:light_gray = { "gui": "#999999", "cterm": "12" } 31 + let s:lighter_gray = { "gui": "#CCCCCC", "cterm": "7" } 32 + let s:lightest_gray = { "gui": "#E5E5E5", "cterm": "13" } 33 + let s:pink = { "gui": "#FB007A", "cterm": "5" } 34 let s:dark_red = { "gui": "#C30771", "cterm": "1" } 35 let s:light_red = { "gui": "#E32791", "cterm": "1" } 36 + let s:orange = { "gui": "#D75F5F", "cterm": "9" } 37 + let s:darker_blue = { "gui": "#005F87", "cterm": "4" } 38 let s:dark_blue = { "gui": "#008EC4", "cterm": "4" } 39 + let s:blue = { "gui": "#20BBFC", "cterm": "4" } 40 + let s:light_blue = { "gui": "#B6D6FD", "cterm": "4" } 41 let s:dark_cyan = { "gui": "#20A5BA", "cterm": "6" } 42 + let s:light_cyan = { "gui": "#4FB8CC", "cterm": "6" } 43 + let s:dark_green = { "gui": "#10A778", "cterm": "6" } 44 + let s:light_green = { "gui": "#5FD7A7", "cterm": "6" } 45 let s:dark_purple = { "gui": "#523C79", "cterm": "5" } 46 + let s:light_purple = { "gui": "#6855DE", "cterm": "5" } 47 + let s:light_yellow = { "gui": "#F3E430", "cterm": "3" } 48 let s:dark_yellow = { "gui": "#A89C14", "cterm": "3" } 49 50 if &background == "dark" ··· 58 let s:green = s:light_green 59 let s:red = s:light_red 60 let s:yellow = s:light_yellow 61 + let s:visual = s:subtle_black 62 let s:cursor_line = s:subtle_black 63 + let s:status_line = s:lighter_black 64 + let s:status_line_nc = s:subtle_black 65 + let s:constant = s:light_green 66 + let s:comment = s:lighter_black 67 + let s:selection = s:light_purple 68 + let s:warning = s:yellow 69 else 70 let s:bg = s:white 71 let s:bg_subtle = s:lighter_gray ··· 78 let s:red = s:dark_red 79 let s:yellow = s:dark_yellow 80 let s:visual = s:light_blue 81 + let s:cursor_line = s:medium_gray 82 + let s:status_line = s:lighter_gray 83 + let s:status_line_nc = s:lighter_black 84 let s:constant = s:dark_blue 85 let s:comment = s:light_gray 86 let s:selection = s:light_yellow 87 + let s:warning = s:yellow 88 endif 89 90 " https://github.com/noahfrederick/vim-hemisu/ ··· 99 \ "cterm=" (has_key(a:style, "cterm") ? a:style.cterm : "NONE") 100 endfunction 101 102 + call s:h("firstAccent", {"fg": s:cyan}) 103 + call s:h("secondAccent", {"fg": s:purple}) 104 105 + call s:h("Normal", {"fg": s:norm,}) 106 + call s:h("Noise", {"fg": s:norm_subtle}) 107 + call s:h("Cursor", {"bg": s:green, "fg": s:norm}) 108 + call s:h("Comment", {"fg": s:comment, "cterm": "italic"}) 109 + call s:h("Function", {"fg": s:norm, "cterm": "bold"}) 110 + 111 + hi! link Constant firstAccent 112 hi! link Character Constant 113 hi! link Number Constant 114 hi! link Boolean Constant ··· 117 118 "call s:h("Identifier", {"fg": s:dark_blue}) 119 hi! link Identifier Normal 120 121 "hi! link Statement Normal 122 + call s:h("Statement", {"fg": s:norm, "cterm": "bold"}) 123 hi! link Conditonal Statement 124 hi! link Repeat Statement 125 hi! link Label Statement ··· 135 hi! link PreCondit PreProc 136 137 "call s:h("Type", {"fg": s:purple}) 138 + hi! link Type secondAccent 139 hi! link StorageClass Type 140 + hi! link Structure Noise 141 + hi! link Typedef Noise 142 143 "call s:h("Special", {"fg": s:pink}) 144 + hi! link Special StatusLine 145 hi! link SpecialChar Special 146 hi! link Tag Special 147 hi! link Delimiter Special 148 hi! link SpecialComment Special 149 hi! link Debug Special 150 151 + hi! link Conceal NonText 152 + 153 call s:h("Underlined", {"fg": s:norm, "gui": "underline", "cterm": "underline"}) 154 call s:h("Ignore", {"fg": s:bg}) 155 + call s:h("Error", {"fg": s:red, "cterm": "bold"}) 156 + call s:h("Todo", {"fg": s:actual_white, "bg": s:black, "gui": "bold", "cterm": "bold"}) 157 + call s:h("SpecialKey", {"fg": s:subtle_black}) 158 + call s:h("NonText", {"fg": s:bg_very_subtle}) 159 + call s:h("Directory", {"fg": s:dark_green}) 160 call s:h("ErrorMsg", {"fg": s:pink}) 161 + call s:h("IncSearch", {"bg": s:selection, "fg": s:black}) 162 + call s:h("Search", {"bg": s:selection, "fg": s:black}) 163 + call s:h("CurSearch", {"bg": s:selection, "fg": s:black}) 164 call s:h("MoreMsg", {"fg": s:medium_gray, "cterm": "bold", "gui": "bold"}) 165 hi! link ModeMsg MoreMsg 166 + call s:h("LineNr", {"fg": s:medium_gray}) 167 + call s:h("CursorLineNr", {"fg": s:green, "bg": s:bg_very_subtle}) 168 call s:h("Question", {"fg": s:red}) 169 + call s:h("VertSplit", {"bg": s:bg, "fg": s:bg_very_subtle}) 170 + call s:h("Title", {"fg": s:dark_green}) 171 call s:h("Visual", {"bg": s:visual}) 172 call s:h("VisualNOS", {"bg": s:bg_subtle}) 173 + call s:h("WarningMsg", {"fg": s:warning}) 174 + call s:h("WildMenu", {"fg": s:white, "bg": s:bg}) 175 call s:h("Folded", {"fg": s:medium_gray}) 176 call s:h("FoldColumn", {"fg": s:bg_subtle}) 177 call s:h("DiffAdd", {"fg": s:green}) 178 call s:h("DiffDelete", {"fg": s:red}) 179 call s:h("DiffChange", {"fg": s:dark_yellow}) 180 + call s:h("DiffText", {"fg": s:dark_green}) 181 + call s:h("SignColumn", {"fg": s:medium_gray}) 182 183 if has("gui_running") 184 call s:h("SpellBad", {"gui": "underline", "sp": s:red}) ··· 193 endif 194 195 """ StatusLine 196 + call s:h("StatusLine", {"fg": s:status_line}) 197 + call s:h("StatusLineNC", {"fg": s:status_line_nc}) 198 199 " Those are not standard but are useful to emphasis different parts of the 200 " status line. 201 call s:h("StatusLineOk", {"gui": "underline", "bg": s:bg, "fg": s:green}) 202 call s:h("StatusLineError", {"gui": "underline", "bg": s:bg, "fg": s:pink}) 203 + call s:h("StatusLineWarning", {"gui": "underline", "bg": s:bg, "fg": s:warning}) 204 205 + call s:h("Pmenu", {"fg": s:norm, "bg": s:bg_very_subtle}) 206 + call s:h("PmenuSel", {"fg": s:green, "bg": s:bg_very_subtle, "gui": "bold"}) 207 call s:h("PmenuSbar", {"fg": s:norm, "bg": s:bg_subtle}) 208 call s:h("PmenuThumb", {"fg": s:norm, "bg": s:bg_subtle}) 209 + call s:h("TabLine", {"fg": s:norm_subtle, "bg": s:bg}) 210 + call s:h("TabLineSel", {"fg": s:norm, "bg": s:bg, "gui": "bold", "cterm": "bold"}) 211 + call s:h("TabLineFill", {"fg": s:norm_subtle, "bg": s:bg}) 212 call s:h("CursorColumn", {"bg": s:bg_very_subtle}) 213 call s:h("CursorLine", {"bg": s:cursor_line}) 214 call s:h("ColorColumn", {"bg": s:bg_subtle}) 215 216 + call s:h("MatchParen", {"bg": s:bg_very_subtle, "fg": s:norm}) 217 + hi link qfLineNr secondAccent 218 + hi link qfFileName firstAccent 219 220 + call s:h("htmlH1", {"fg": s:norm}) 221 + call s:h("htmlH2", {"fg": s:norm}) 222 + call s:h("htmlH3", {"fg": s:norm}) 223 + call s:h("htmlH4", {"fg": s:norm}) 224 + call s:h("htmlH5", {"fg": s:norm}) 225 + call s:h("htmlH6", {"fg": s:norm}) 226 + 227 + call s:h("htmlBold", {"fg": s:norm}) 228 + call s:h("htmlItalic", {"fg": s:norm}) 229 + call s:h("htmlEndTag", {"fg": s:norm}) 230 + call s:h("htmlTag", {"fg": s:norm}) 231 + call s:h("htmlTagName", {"fg": s:norm}) 232 + call s:h("htmlArg", {"fg": s:norm}) 233 + call s:h("htmlError", {"fg": s:red}) 234 + 235 + " JavaScript highlighting 236 + " 237 + call s:h("javaScript", {"bg": s:bg, "fg": s:norm}) 238 + call s:h("javaScriptBraces", {"bg": s:bg, "fg": s:norm}) 239 + call s:h("javaScriptNumber", {"bg": s:bg, "fg": s:green}) 240 241 hi link diffRemoved DiffDelete 242 hi link diffAdded DiffAdd 243 244 + hi link TSAnnotation secondAccent 245 + " unstable for now: 246 + hi link TSAttribute secondAccent 247 + hi link TSBoolean Constant 248 + hi link TSCharacter Constant 249 + hi link TSComment Comment 250 + hi link TSConstructor Normal 251 + hi link TSConditional Normal 252 + hi link TSConstant Constant 253 + hi link TSConstBuiltin secondAccent 254 + hi link TSConstMacro secondAccent 255 + hi link TSError Error 256 + hi link TSException Error 257 + hi link TSField Normal 258 + hi link TSFloat Constant 259 + hi link TSFunction Normal 260 + hi link TSFuncBuiltin Noise 261 + hi link TSFuncMacro secondAccent 262 + hi link TSInclude Noise 263 + hi link TSKeyword Noise 264 + hi link TSKeywordFunction Noise 265 + hi link TSLabel Noise 266 + hi link TSMethod Normal 267 + hi link TSNamespace Noise 268 + hi link TSNone Noise 269 + hi link TSNumber Constant 270 + hi link TSOperator Normal 271 + hi link TSParameter Statement 272 + hi link TSParameterReference Statement 273 + hi link TSProperty TSField 274 + hi link TSPunctDelimiter Noise 275 + hi link TSPunctBracket Noise 276 + hi link TSPunctSpecial Noise 277 + hi link TSRepeat Normal 278 + hi link TSString Constant 279 + hi link TSStringRegex secondAccent 280 + hi link TSStringEscape secondAccent 281 + hi link TSStringSpecial secondAccent 282 + hi link TSTag Statement 283 + hi link TSTagDelimiter Noise 284 + hi link TSText Normal 285 + hi link TSEmphasis Statement 286 + hi link TSUnderline Underlined 287 + hi link TSStrike Underlined 288 + hi link TSTitle Statement 289 + hi link TSLiteral Noise 290 + hi link TSURI Constant 291 + hi link TSType secondAccent 292 + hi link TSTypeBuiltin secondAccent 293 + hi link TSVariable Normal 294 + hi link TSVariableBuiltin Normal 295 + 296 + " nvim-lsp diagnostics 297 + hi link LspDiagnosticsDefaultError Error 298 + hi link LspDiagnosticsDefaultWarning WarningMsg 299 + hi link LspDiagnosticsDefaultInformation Noise 300 + hi link LspDiagnosticsDefaultHint Constant 301 + 302 " Signify, git-gutter 303 hi link SignifySignAdd LineNr 304 hi link SignifySignDelete LineNr ··· 310 311 hi link jsFlowTypeKeyword Statement 312 hi link jsFlowImportType Statement 313 + hi link jsFunction Function 314 + hi link jsGlobalObjects Noise 315 hi link jsGlobalNodeObjects Normal 316 + hi link jsSwitchCase Constant 317 + 318 + call s:h("jsSpreadOperator ", {"bg": s:bg, "fg": s:selection}) 319 + hi link jsReturn jsSpreadOperator 320 + hi link jsExport jsSpreadOperator 321 + 322 + call s:h("rustModPath ", {"fg": s:lightest_gray}) 323 + hi link rustMacro secondAccent 324 + hi link rustKeyword Noise 325 + hi link rustDerive secondAccent 326 + hi link rustDeriveTrait secondAccent 327 + hi link rustAttribute secondAccent 328 + hi link rustLifetime secondAccent 329 + 330 + hi link schemeSyntax Normal 331 + hi link schemeParentheses Noise 332 + hi link schemeIdentifier Noise 333 + 334 + hi link lispParen Noise 335 + hi link lispSymbol Noise 336 + 337 + hi link shCommandSub secondAccent 338 + 339 + hi link cFormat secondAccent 340 + 341 + hi link nixBuiltin secondAccent 342 + hi link nixNamespacedBuiltin secondAccent 343 + 344 + hi link awkPatterns secondAccent 345 + hi link awkVariables Normal 346 + hi link awkOperator Normal 347 + hi link awkExpression Noise 348 + hi link awkArrayElement Noise 349 + hi link awkFieldVars firstAccent 350 + hi link awkSpecialPrintf secondAccent 351 + hi link awkSpecialCharacter Noise 352 + 353 + hi link sqlSpecial firstAccent 354 + hi link sqlKeyword secondAccent 355 + 356 + hi link helpExample Normal 357 + hi link helpCommand secondAccent 358 + hi link helpBacktick secondAccent 359 + hi link helpSpecial Normal 360 + hi link helpUrl secondAccent 361 + hi link helpHyperTextEntry Title 362 + hi link helpHyperTextJump String 363 + 364 + 365 hi link StorageClass Statement 366 367 + hi link elmType Type 368 + 369 + hi link xmlTag Constant 370 hi link xmlTagName xmlTag 371 hi link xmlEndTag xmlTag 372 hi link xmlAttrib xmlTag ··· 377 hi link markdownH4 Statement 378 hi link markdownH5 Statement 379 hi link markdownH6 Statement 380 + hi link markdownListMarker Constant 381 + hi link markdownCode Constant 382 + hi link markdownCodeBlock Constant 383 + hi link markdownCodeDelimiter Constant 384 + hi link markdownHeadingDelimiter Constant 385 + 386 + call s:h("cssBraces", {"bg": s:bg, "fg": s:selection}) 387 + hi link cssTextProp Noise 388 + hi link cssTagName Normal 389 + 390 + 391 + " leap-nvim support 392 + hi link LeapMatch Normal 393 + hi link LeapLabelPrimary Normal 394 + hi link LeapLabelSecondary Normal 395 + hi link LeapBackdrop Noise 396 + 397 + " lsp ui 398 + hi link FloatBorder Noise
+27
flake.lock
···
··· 1 + { 2 + "nodes": { 3 + "nixpkgs": { 4 + "locked": { 5 + "lastModified": 1632176121, 6 + "narHash": "sha256-N2oSOhbW38rbc53R1R8qXC/Xstht1PIsAcTzJfmCpTc=", 7 + "owner": "NixOS", 8 + "repo": "nixpkgs", 9 + "rev": "3397f0ede9ea2ded1f8b6fa689dda71a7a67b806", 10 + "type": "github" 11 + }, 12 + "original": { 13 + "owner": "NixOS", 14 + "ref": "nixos-21.05", 15 + "repo": "nixpkgs", 16 + "type": "github" 17 + } 18 + }, 19 + "root": { 20 + "inputs": { 21 + "nixpkgs": "nixpkgs" 22 + } 23 + } 24 + }, 25 + "root": "root", 26 + "version": 7 27 + }
+48
flake.nix
···
··· 1 + { 2 + 3 + description = "Duotonic colorscheme for {neo,}vim"; 4 + 5 + inputs = { 6 + nixpkgs.url = "github:NixOS/nixpkgs/nixos-21.05"; 7 + }; 8 + 9 + outputs = 10 + { self 11 + , nixpkgs 12 + , ... 13 + } @ rest: 14 + let 15 + supportedSystems = [ "x86_64-linux" "x86_64-darwin" ]; 16 + 17 + forAllSystems = nixpkgs.lib.genAttrs supportedSystems; 18 + 19 + nixpkgsFor = forAllSystems (system: 20 + import nixpkgs { 21 + inherit system; 22 + overlays = [ self.overlay ]; 23 + } 24 + ); 25 + in 26 + { 27 + 28 + overlay = final: prev: rec { 29 + vim-colors-plain = 30 + with final; pkgs.vimUtils.buildVimPlugin { 31 + pname = "vim-colors-plain"; 32 + version = "0.1.0"; 33 + src = ./.; 34 + }; 35 + }; 36 + 37 + packages = forAllSystems (system: 38 + { 39 + inherit (nixpkgsFor."${system}") vim-colors-plain; 40 + } 41 + ); 42 + 43 + defaultPackage = 44 + forAllSystems (system: self.packages."${system}".vim-colors-plain); 45 + 46 + }; 47 + 48 + }
+28
readme.md
···
··· 1 + ![img](https://cdn.oppi.li/bt.png) 2 + 3 + vim-colors-plain is a duotonic color scheme, the two accents 4 + being cyan and pink by default (configurable). 5 + 6 + i would suggesting installing manually by cloning into your 7 + plugin directory or dropping `colors/plain.vim` into one of 8 + the following directories: 9 + 10 + - vim: `.vim/plugin` 11 + - neovim: `.config/nvim/plugin` 12 + 13 + if you use nix/nixos, this repository provides a vim plugin 14 + as a flake output, that you can import via 15 + `builtins.getFlake`. 16 + 17 + ``` 18 + vim-colors-plain = { 19 + url = "github:oppiliappan/vim-colors-plain"; 20 + inputs.nixpkgs.follows = "nixpkgs"; 21 + }; 22 + 23 + . 24 + . 25 + . 26 + 27 + programs.neovim.plugins = [ pkgs.vim-colors-plain ]; 28 + ```
screenshots/plain-dark.png

This is a binary file and will not be displayed.

screenshots/plain-light.png

This is a binary file and will not be displayed.