a duotonic color scheme

Compare changes

Choose any two refs to compare.

+1
.gitignore
··· 1 + result
+83 -8
colors/plain.vim
··· 160 160 call s:h("ErrorMsg", {"fg": s:pink}) 161 161 call s:h("IncSearch", {"bg": s:selection, "fg": s:black}) 162 162 call s:h("Search", {"bg": s:selection, "fg": s:black}) 163 + call s:h("CurSearch", {"bg": s:selection, "fg": s:black}) 163 164 call s:h("MoreMsg", {"fg": s:medium_gray, "cterm": "bold", "gui": "bold"}) 164 165 hi! link ModeMsg MoreMsg 165 166 call s:h("LineNr", {"fg": s:medium_gray}) ··· 191 192 call s:h("SpellLocal", {"cterm": "underline", "fg": s:dark_green}) 192 193 endif 193 194 194 - """ Help 195 - hi link helpHyperTextEntry Title 196 - hi link helpHyperTextJump String 197 - 198 195 """ StatusLine 199 - 200 196 call s:h("StatusLine", {"fg": s:status_line}) 201 197 call s:h("StatusLineNC", {"fg": s:status_line_nc}) 202 198 ··· 218 214 call s:h("ColorColumn", {"bg": s:bg_subtle}) 219 215 220 216 call s:h("MatchParen", {"bg": s:bg_very_subtle, "fg": s:norm}) 221 - call s:h("qfLineNr", {"fg": s:medium_gray}) 217 + hi link qfLineNr secondAccent 218 + hi link qfFileName firstAccent 222 219 223 220 call s:h("htmlH1", {"fg": s:norm}) 224 221 call s:h("htmlH2", {"fg": s:norm}) ··· 244 241 hi link diffRemoved DiffDelete 245 242 hi link diffAdded DiffAdd 246 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 + 247 296 " nvim-lsp diagnostics 248 297 hi link LspDiagnosticsDefaultError Error 249 298 hi link LspDiagnosticsDefaultWarning WarningMsg ··· 282 331 hi link schemeParentheses Noise 283 332 hi link schemeIdentifier Noise 284 333 334 + hi link lispParen Noise 335 + hi link lispSymbol Noise 336 + 285 337 hi link shCommandSub secondAccent 286 338 287 339 hi link cFormat secondAccent ··· 289 341 hi link nixBuiltin secondAccent 290 342 hi link nixNamespacedBuiltin secondAccent 291 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 + 292 353 hi link sqlSpecial firstAccent 293 354 hi link sqlKeyword secondAccent 294 355 295 - hi link helpExample Noise 356 + hi link helpExample Normal 296 357 hi link helpCommand secondAccent 297 358 hi link helpBacktick secondAccent 298 - hi link helpSpecial Noise 359 + hi link helpSpecial Normal 360 + hi link helpUrl secondAccent 361 + hi link helpHyperTextEntry Title 362 + hi link helpHyperTextJump String 363 + 299 364 300 365 hi link StorageClass Statement 301 366 ··· 321 386 call s:h("cssBraces", {"bg": s:bg, "fg": s:selection}) 322 387 hi link cssTextProp Noise 323 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 + }
+19 -4
readme.md
··· 1 - ![img](https://u.peppe.rs/bt.png) 1 + ![img](https://cdn.oppi.li/bt.png) 2 2 3 3 vim-colors-plain is a duotonic color scheme, the two accents 4 4 being cyan and pink by default (configurable). 5 5 6 - vim-plug does not support installing plugins from sources 7 - that do not allow shallow clones (such as git.peppe.rs), i 8 - would suggesting installing manually by cloning into your 6 + i would suggesting installing manually by cloning into your 9 7 plugin directory or dropping `colors/plain.vim` into one of 10 8 the following directories: 11 9 12 10 - vim: `.vim/plugin` 13 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.