a duotonic color scheme

Compare changes

Choose any two refs to compare.

+1
.gitignore
··· 1 + result
+32 -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}) ··· 281 278 hi link TSString Constant 282 279 hi link TSStringRegex secondAccent 283 280 hi link TSStringEscape secondAccent 281 + hi link TSStringSpecial secondAccent 284 282 hi link TSTag Statement 285 283 hi link TSTagDelimiter Noise 286 284 hi link TSText Normal ··· 333 331 hi link schemeParentheses Noise 334 332 hi link schemeIdentifier Noise 335 333 334 + hi link lispParen Noise 335 + hi link lispSymbol Noise 336 + 336 337 hi link shCommandSub secondAccent 337 338 338 339 hi link cFormat secondAccent ··· 340 341 hi link nixBuiltin secondAccent 341 342 hi link nixNamespacedBuiltin secondAccent 342 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 + 343 353 hi link sqlSpecial firstAccent 344 354 hi link sqlKeyword secondAccent 345 355 346 - hi link helpExample Noise 356 + hi link helpExample Normal 347 357 hi link helpCommand secondAccent 348 358 hi link helpBacktick secondAccent 349 - 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 + 350 364 351 365 hi link StorageClass Statement 352 366 ··· 372 386 call s:h("cssBraces", {"bg": s:bg, "fg": s:selection}) 373 387 hi link cssTextProp Noise 374 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.