{"id":13493384,"url":"https://github.com/srcery-colors/srcery-vim","last_synced_at":"2026-02-19T07:18:54.367Z","repository":{"id":9436515,"uuid":"60805462","full_name":"srcery-colors/srcery-vim","owner":"srcery-colors","description":" Srcery is a dark color scheme with clearly defined contrasting colors and a slightly earthy tone. ","archived":false,"fork":false,"pushed_at":"2026-02-16T13:48:44.000Z","size":370,"stargazers_count":882,"open_issues_count":2,"forks_count":62,"subscribers_count":7,"default_branch":"master","last_synced_at":"2026-02-16T19:15:53.219Z","etag":null,"topics":["airline","color-scheme","color-theme","colorscheme","dark-color-theme","dark-syntax-theme","gvim","hacktoberfest","lightline","neovim","neovim-plugin","srcery","terminal","terminal-theme","theme","vim","vim-plugin"],"latest_commit_sha":null,"homepage":"https://srcery.sh","language":"Vim Script","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/srcery-colors.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2016-06-09T20:38:11.000Z","updated_at":"2026-02-08T17:45:10.000Z","dependencies_parsed_at":"2023-12-21T20:04:27.595Z","dependency_job_id":"7883502a-741a-4421-a555-a5159ce52e96","html_url":"https://github.com/srcery-colors/srcery-vim","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/srcery-colors/srcery-vim","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srcery-colors%2Fsrcery-vim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srcery-colors%2Fsrcery-vim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srcery-colors%2Fsrcery-vim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srcery-colors%2Fsrcery-vim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/srcery-colors","download_url":"https://codeload.github.com/srcery-colors/srcery-vim/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srcery-colors%2Fsrcery-vim/sbom","scorecard":{"id":843622,"data":{"date":"2025-08-11","repo":{"name":"github.com/srcery-colors/srcery-vim","commit":"588d03eb8b8e3a47f1bb41caecddcab3fd7ba940"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.7,"checks":[{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Maintained","score":0,"reason":"1 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":6,"reason":"Found 12/18 approved changesets -- score normalized to 6","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Pinned-Dependencies","score":5,"reason":"dependency not pinned by hash detected -- score normalized to 5","details":["Warn: pipCommand not pinned by hash: .github/workflows/lint.yaml:20","Warn: pipCommand not pinned by hash: .github/workflows/lint.yaml:21","Info:   2 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/lint.yaml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":9,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Warn: project license file does not contain an FSF or OSI license."],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 26 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-23T20:58:56.662Z","repository_id":9436515,"created_at":"2025-08-23T20:58:56.663Z","updated_at":"2025-08-23T20:58:56.663Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29606172,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-19T06:47:36.664Z","status":"ssl_error","status_checked_at":"2026-02-19T06:45:47.551Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["airline","color-scheme","color-theme","colorscheme","dark-color-theme","dark-syntax-theme","gvim","hacktoberfest","lightline","neovim","neovim-plugin","srcery","terminal","terminal-theme","theme","vim","vim-plugin"],"created_at":"2024-07-31T19:01:14.714Z","updated_at":"2026-02-19T07:18:54.338Z","avatar_url":"https://github.com/srcery-colors.png","language":"Vim Script","readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/srcery-colors/srcery-assets/master/src/logo_border.svg\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://srcery.sh\"\u003e\n    \u003cimg src=\"https://img.shields.io/static/v1?label=\u0026message=website\u0026style=flat\u0026color=5B5B5B\u0026logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAA7MAAAOzAGxoQZ+AAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAAdJJREFUOI1jDAgIYMAFTp8+EcrIyMRqYmK2DJcaJlwS548fV2RjYJnNxsg87fzx44okGbBhwwaWvyyMSzM4dfgrlGz5/7IwLt2wYQML0QZIS0s2mLFIWIZxqDKkyJowuAirWkpLSzYQZcDZsyfthJnYK2p4TBkYGRgYGBkYGXo0PBjE2XgqT58+7oTXgHPnzgky/GNYXMFlwizEyAEXF2bjYujX9GJiYmBedPr0aWGcBvz793teOIeanBWrJIZT7YQUGFJkTaQZGf4v3LBhAyOGAWdPn8hUZxYIyODUweZVBgYGBoYqZXsGQz5Jb1lpiQycYUAqgBtgbGox/ebfDxtmfL+CU3Hb3YMM5z893/r46YsZWF3AxMSatPLHrUfHfj/H0Hzo3QOGOY/PPP3PwBgfEBDwH6sBRkZG7xmYGGI7vp35++7/D7j421/fGAqvb/v3j+FvnKmp6VusXoB7xdj80Nt/Pztavpxm+M/AwPCf4T9DyY0dDC9/fWk3NbXchzMMkMHTp88bTv15cXzVj9sMcx6fYdjz9vbxp0+fN2BTy4grN54/flyRiYX1PCMTI8PfX78MDS0t72NThzMaDS0t7//5/y/z99+/mbg0MzAwMAAAVbWgDHTwVjUAAAAASUVORK5CYII=\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://discord.gg/G6vBMmZ\"\u003e\n    \u003cimg src=\"https://img.shields.io/discord/714101903377694741?color=%232C78BF\u0026label=discord\u0026logo=discord\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/orgs/srcery-colors/repositories\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/actions/workflow/status/srcery-colors/srcery-vim/lint.yaml?color=%2398BC37\u0026logo=github\"\u003e\n  \u003c/a\u003e\n\n  \u003ca href=\"https://www.npmjs.com/package/@srcery-colors/srcery-palette\"\u003e\n    \u003cimg src=\"https://img.shields.io/npm/v/@srcery-colors/srcery-palette?color=%23FBB829\u0026label=Palette%20version\u0026logo=npm\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\nSrcery is a color scheme with clearly defined contrasting colors and a\nslightly earthy tone.\n\u003c/p\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cstrong\u003eTable of content\u003c/strong\u003e\u003c/summary\u003e\n\n- [Requirements](#requirements)\n    - [GUI](#gui)\n    - [TUI](#tui)\n- [Installation](#installation)\n    - [Manually](#manually)\n    - [Vim 8](#vim-8)\n    - [dein.vim](#deinvim)\n    - [vim-pathogen](#vim-pathogen)\n    - [vim-plug](#vim-plug)\n    - [packer](#packer)\n- [Usage](#usage)\n- [Configuration](#configuration)\n    - [Colors](#colors)\n    - [Options](#options)\n        - [g:srcery\\_bold](#gsrcery_bold)\n        - [g:srcery\\_italic](#gsrcery_italic)\n        - [g:srcery\\_underline](#gsrcery_underline)\n        - [g:srcery\\_undercurl](#gsrcery_undercurl)\n        - [g:srcery\\_strikethrough](#gsrcery_strikethrough)\n        - [g:srcery\\_inverse](#gsrcery_inverse)\n        - [g:srcery\\_inverse\\_matches](#gsrcery_inverse_matches)\n        - [g:srcery\\_inverse\\_match\\_paren](#gsrcery_inverse_match_paren)\n        - [g:srcery\\_dim\\_lisp\\_paren](#gsrcery_dim_lisp_paren)\n        - [g:srcery\\_guisp\\_fallback](#gsrcery_guisp_fallback)\n        - [g:srcery\\_italic\\_types](#gsrcery_italic_types)\n        - [g:srcery\\_bg](#gsrcery_bg)\n        - [g:srcery\\_hard\\_black\\_terminal\\_bg](#gsrcery_hard_black_terminal_bg)\n- [Screenshots](#screenshots)\n- [Plugin support](#plugin-support)\n    - [Lightline](#lightline)\n    - [Airline](#airline)\n    - [Other](#other)\n- [Attribution](#attribution)\n- [Troubleshooting](#troubleshooting)\n    - [Colors don't look right](#colors-dont-look-right)\n    - [24-bit color, tmux and Neovim](#24-bit-color-tmux-and-neovim)\n- [Extra](#extra)\n    - [Emacs](#emacs)\n\n\n\u003c/details\u003e\n\n## Requirements\n\n### GUI\n\nYou don’t need to do anything for this colorscheme to work in gVim or MacVim.\n\n### TUI\n\nTo use Srcery in the terminal you need to change your terminal emulator’s\nso-called “ASCII” colors to the ones in the table below. There's a list of\nterminal configurations in the\n[srcery-terminal](https://github.com/srcery-colors/srcery-terminal) repository.\n\n| IMG  | TERMCOL | NR | VAR | HEX | RGB  | HSL |\n|------|---------|----|-----|-----|------|-----|\n| ![black](https://place-hold.it/24x24/1c1b19?text=+) | black | 0 | `g:srcery_black` | #1C1B19 | 28, 27, 25 | 40, 6%, 10% |\n| ![red](https://place-hold.it/24x24/ef2f27?text=+) | red | 1 | `g:srcery_red` | #EF2F27 | 239, 47, 39 | 2, 86%, 55% |\n| ![green](https://place-hold.it/24x24/519f50?text=+) | green | 2 | `g:srcery_green` | #519F50 | 81, 159, 80 | 119, 33%, 47% |\n| ![yellow](https://place-hold.it/24x24/fbb829?text=+) | yellow | 3 | `g:srcery_yellow` | #FBB829 | 251, 184, 41 | 41, 96%, 57% |\n| ![blue](https://place-hold.it/24x24/2c78bf?text=+) | blue | 4 | `g:srcery_blue` | #2C78BF | 44, 120, 191 | 209, 63%, 46% |\n| ![magenta](https://place-hold.it/24x24/e02c6d?text=+) | magenta | 5 | `g:srcery_magenta` | #E02C6D | 224, 44, 109 | 338, 74%, 53% |\n| ![cyan](https://place-hold.it/24x24/0aaeb3?text=+) | cyan | 6 | `g:srcery_cyan` | #0AAEB3 | 10, 174, 179 | 182, 89%, 37% |\n| ![white](https://place-hold.it/24x24/baa67f?text=+) | white | 7 | `g:srcery_white` | #BAA67F | 186, 166, 127 | 40, 30%, 61% |\n| ![brightblack](https://place-hold.it/24x24/918175?text=+) | brightblack | 8 | `g:srcery_bright_black` | #918175 | 145, 129, 117 | 26, 11%, 51% |\n| ![brightred](https://place-hold.it/24x24/f75341?text=+) | brightred | 9 | `g:srcery_bright_red` | #F75341 | 247, 83, 65 | 6, 92%, 61% |\n| ![brightgreen](https://place-hold.it/24x24/98bc37?text=+) | brightgreen | 10 | `g:srcery_bright_green` | #98BC37 | 152, 188, 55 | 76, 55%, 48% |\n| ![brightyellow](https://place-hold.it/24x24/fed06e?text=+) | brightyellow | 11 | `g:srcery_bright_yellow` | #FED06E | 254, 208, 110 | 41, 99%, 71% |\n| ![brightblue](https://place-hold.it/24x24/68a8e4?text=+) | brightblue | 12 | `g:srcery_bright_blue` | #68A8E4 | 104, 168, 228 | 209, 70%, 65% |\n| ![brightmagenta](https://place-hold.it/24x24/ff5c8f?text=+) | brightmagenta | 13 | `g:srcery_bright_magenta` | #FF5C8F | 255, 92, 143 | 341, 100%, 68% |\n| ![brightcyan](https://place-hold.it/24x24/2be4d0?text=+) | brightcyan | 14 | `g:srcery_bright_cyan` | #2BE4D0 | 43, 228, 208 | 174, 77%, 53% |\n| ![brightwhite](https://place-hold.it/24x24/fce8c3?text=+) | brightwhite | 15 | `g:srcery_bright_white` | #FCE8C3 | 252, 232, 195 | 39, 90%, 88% |\n\nAdditionally Srcery uses some [xterm 256\ncolors](https://en.wikipedia.org/wiki/Xterm#/media/File:Xterm_256color_chart.svg)\nto pad out the color selection, no extra configuration needed.\n\n| IMG  | NAME | NR | VAR | HEX | RGB  | HSL |\n|------|------|----|-----|-----|------|-----|\n| ![orange](https://place-hold.it/24x24/ff5f00?text=+) | orange | 202 | `g:srcery_orange`, `g:srcery_orange_cterm` | #FF5F00 | 255, 95, 0 | 22, 100%, 50% |\n| ![bright_orange](https://place-hold.it/24x24/ff8700?text=+) | bright_orange | 208 | `g:srcery_bright_orange`, `g:srcery_bright_orange_cterm` | #FF8700 | 255, 135, 0 | 32, 100%, 50% |\n| ![hard_black](https://place-hold.it/24x24/121212?text=+) | hard_black | 233 | `g:srcery_hard_black`, `g:srcery_hard_black_cterm`| #121212 | 18, 18, 18 | 0, 0%, 7% |\n| ![xgray1](https://place-hold.it/24x24/262626?text=+) | xgray1 | 235 | `g:srcery_xgray1`, `g:srcery_xgray1_cterm` | #262626 | 38, 38, 38 | 0, 0%, 15% |\n| ![xgray2](https://place-hold.it/24x24/303030?text=+) | xgray2 | 236 | `g:srcery_xgray2`, `g:srcery_xgray2_cterm` | #303030 | 48, 48, 48 | 0, 0%, 19% |\n| ![xgray3](https://place-hold.it/24x24/3a3a3a?text=+) | xgray3 | 237 | `g:srcery_xgray3`, `g:srcery_xgray3_cterm` | #3A3A3A | 58, 58, 58 | 0, 0%, 23% |\n| ![xgray4](https://place-hold.it/24x24/444444?text=+) | xgray4 | 238 | `g:srcery_xgray4`, `g:srcery_xgray4_cterm` |#444444 | 68, 68, 68 | 0, 0%, 27% |\n| ![xgray5](https://place-hold.it/24x24/4e4e4e?text=+) | xgray5 | 239 | `g:srcery_xgray5`, `g:srcery_xgray5_cterm` | #4E4E4E | 78, 78, 78 | 0, 0%, 31% |\n| ![xgray6](https://place-hold.it/24x24/585858?text=+) | xgray6 | 240 | `g:srcery_xgray6`, `g:srcery_xgray6_cterm` | #585858 | 88, 88, 88 | 0, 0%, 35% |\n\u003c!-- | ![teal](https://place-hold.it/24x24/008080?text=+) | teal | 30 | N/A* | #008080 | 0, 128, 128 | 180, 100%, 25% | --\u003e\n\u003c!-- | ![xgray7](https://place-hold.it/24x24/626262?text=+) | xgray7 | 241 | N/A* | #626262 | 98, 98, 98 | 0, 0%, 38% | --\u003e\n\u003c!-- | ![xgray8](https://place-hold.it/24x24/6c6c6c?text=+) | xgray8 | 242 | N/A* | #6C6C6C | 108, 108, 108 | 0, 0%, 42% | --\u003e\n\u003c!-- | ![xgray9](https://place-hold.it/24x24/767676?text=+) | xgray9 | 243 | N/A* | #767676 | 118, 118, 118 | 0, 0%, 46% | --\u003e\n\u003c!-- | ![xgray10](https://place-hold.it/24x24/808080?text=+) | xgray10 | 244 | N/A* | #808080 | 128, 128, 128 | 0, 0%, 50% | --\u003e\n\u003c!-- | ![xgray11](https://place-hold.it/24x24/8a8a8a?text=+) | xgray11 | 245 | N/A* | #8A8A8A | 138, 138, 138 | 0, 0%, 54% | --\u003e\n\u003c!-- | ![xgray12](https://place-hold.it/24x24/949494?text=+) | xgray12 | 246 | N/A* | #949494 | 148, 148, 148 | 0, 0%, 58% | --\u003e\n\u003c!-- \u003e \\* N/A on variables means the color isn't used in the vim theme, but are used in other Srcery derivatives. If there is a need for more colors these can easily be included. --\u003e\n\n## Installation\n\n### Manually\n\nDownload or clone srcery's repository to a location of your choosing and set your `runtimepath` correctly, otherwise srcery will not work as it relies on the `autoload` functionality.\n\nYou can also install with your favourite plugin manager.\n\n### Vim 8\n\nVim 8 has native support for loading plugins by using `packages`. All you need to do to, is to clone this repository into `~/.vim/pack/themes/opt`.\n\n    git clone https://github.com/srcery-colors/srcery-vim ~/.vim/pack/themes/opt/srcery-vim\n\nAnd then set your `.vimrc` accordingly.\n\n```vim\npackadd! srcery-vim\ncolorscheme srcery\n```\n\nThe same works for Neovim, but you have to clone it into a path where Neovim can\nfind it.\n\n    git clone https://github.com/srcery-colors/srcery-vim $XDG_CONFIG_HOME/nvim/pack/themes/opt\n\n### [dein.vim](https://github.com/Shougo/dein.vim)\n\n```vim\ncall dein#add('srcery-colors/srcery-vim')\n```\n\n### [vim-pathogen](https://github.com/tpope/vim-pathogen)\n\n```shell\ncd ~/.vim/bundle\ngit clone https://github.com/srcery-colors/srcery-vim\n```\n\n### [vim-plug](https://github.com/junegunn/vim-plug)\n\n```vim\nPlug 'srcery-colors/srcery-vim'\n```\n### [packer](https://github.com/wbthomason/packer.nvim)\n```lua\n  use {'srcery-colors/srcery-vim', as = 'srcery'}\n```\n\n## Usage\n\n```\n:color srcery\n```\n\nIf you like what you see and decide to make srcery your default colorscheme, add the relevant line to your `.vimrc`:\n\n```vim\ncolorscheme srcery\n```\n\n## Configuration\n\nSrcery includes a few toggles due to discrepancies in the various setups possible.\nTo change any of these you'd put something like this in your `.vimrc`\n\n```vim\nlet g:srcery_italic = 1\n```\n\nMake sure that you set these variables before assigning `colorscheme`.\n\n### Colors\n\nYou can customize each of Srcery's colors, to customize say the red color:\n\n```vim\nlet g:srcery_red = '#FF0000'\n```\n\nInside a 256-color terminal emulator, additional colors are configurable\nvia setting the corresponding variable with the \\_cterm suffix, e.g.\n\n```vim\nlet g:srcery_hard_black_cterm = 232\n```\n\nRefer to the [table](#TUI) for a full list of color variables, hexes and more.\n\nThis will only work on `set termguicolors` and in gVim, to override terminal\ncolors, do so in your [terminal\nconfiguration](https://github.com/srcery-colors/srcery-terminal).\n\n### Options\n\n#### g:srcery\\_bold\n\nEnables bold text.\n\nDefault: 1\n\n#### g:srcery\\_italic\n\nEnables italic text.\n\nDefault: gui 1, term 0\n\n#### g:srcery\\_underline\n\nEnables underlined text.\n\nDefault: 1\n\n#### g:srcery\\_undercurl\n\nEnables undercurled text.\n\nDefault: 1\n\n#### g:srcery\\_strikethrough\n\nEnables strikethrough text.\n\nDefault: 1\n\n#### g:srcery\\_inverse\n\nEnable or disable inverse highlighting (foreground becomes background,\nvice versa). This is used for visual selection, search highlights and\nsome other things.\n\nSrcery will fall back to other methods of highlighting if this is\ndisabled.\n\nDefault: 1\n\n#### g:srcery\\_inverse\\_matches\n\nHighlight search matches using inverse colors.\n\nDefault: 0\n\n#### g:srcery\\_inverse\\_match\\_paren\n\nWhen enabled will highlight matching delimiters using inverse colors.\n(`:DoMatchParen`)\n\nWorks best with [Rainbow parenthesis](https://github.com/kien/rainbow_parentheses.vim).\n\nDefault: 0\n\n#### g:srcery\\_dim\\_lisp\\_paren\n\nDims lisp dialects delimiters to a fairly dark gray (xgray5 specifically).\n\nDefault: 0\n\n#### g:srcery\\_guisp\\_fallback\n\nSets up alternate highlighting for colored underline/undercurl. Some\nenvironments are unable to color underline, so this setting will set either the\nbackground or foreground to whatever color the underline is supposed to be.\n\nThis comes in handy if colored underline doesn't work, or underline is disabled\nentirely.\n\nDefault: 'NONE'\n\nPossible Values: 'fg', 'bg'\n\n#### g:srcery\\_italic\\_types\n\nItalicize types if italic is enabled.\n\nDefault: 0\n\n#### g:srcery\\_bg\n\nLet's you customize the background color. This var takes a list with two\nvalues, with a quoted HEX in the first position, and a terminal color index for\nthe second position. This lets you set both a 24-bit color, and a 8bit terminal\ncolor index.\n\nYou can specify `'NONE'` as one of the values to make it transparent, as such\n`['NONE', 'NONE']` would be the same as the previous option\n`g:srcery_bg_passthrough = 1`.\n\nYou can specify `'DEFAULT'` as one of the values in order to use that\nposition's default value.\n\nDefault: `[g:srcery_black, 0]`\n\n#### g:srcery\\_hard\\_black\\_terminal\\_bg\n\nIf enabled, will set the terminal background in vim to hard black.\nNote that this currently only works in Vim, not Neovim.\n\nDefault: 1\n\n## Screenshots\n\nviml, bash\n![viml\\_bash](https://raw.githubusercontent.com/srcery-colors/srcery-assets/master/vim/viml_bash.png)\n\nclojure, elisp\n![lisp](https://raw.githubusercontent.com/srcery-colors/srcery-assets/master/vim/lisp.png)\n\nc, rust\n![c\\_rust](https://raw.githubusercontent.com/srcery-colors/srcery-assets/master/vim/c_rust.png)\n\npython, js\n![py\\_js](https://raw.githubusercontent.com/srcery-colors/srcery-assets/master/vim/py_js.png)\n\ngit, terminal\n![git\\_term](https://raw.githubusercontent.com/srcery-colors/srcery-assets/master/vim/git_term.png)\n\nTypeface used in screenshots is [Iosevka](https://github.com/be5invis/Iosevka)\n\n## Plugin support\n\n### Lightline\n\n![lightline](https://raw.githubusercontent.com/srcery-colors/srcery-assets/master/vim/lightline.png)\n\n[Lightline](https://github.com/itchyny/lightline.vim) colorscheme.\nTo use it, include 'srcery' value in lightline configuration, like so:\n\n```vim\nlet g:lightline = {\n      \\ 'colorscheme': 'srcery',\n      \\ }\n```\n### Lualine\n\n[Lualine](https://github.com/nvim-lualine/lualine.nvim) colorscheme.\nIt's the same as Lightline's. Enable it in your configuration:\n\n```\nrequire('lualine').setup {\n  options = {\n    theme = 'srcery',\n  },\n}\n```\n\n### Airline\n\n![airline](https://raw.githubusercontent.com/srcery-colors/srcery-assets/master/vim/airline.png)\n\nThanks to [MindTooth](https://github.com/MindTooth), Srcery now includes an [Airline](https://github.com/vim-airline/vim-airline) theme.\n\n### Other\n\nThese don't require any additional configuration.\n\n* [ale](https://github.com/w0rp/ale)\n* [coc.nvim](https://github.com/neoclide/coc.nvim)\n* [ctrlp.vim](https://github.com/ctrlpvim/ctrlp.vim)\n* [fzf.vim](https://github.com/junegunn/fzf.vim)\n* [nerdtree](https://github.com/preservim/nerdtree)\n* [nvim-cmp](https://github.com/hrsh7th/nvim-cmp)\n* [nvim-treesitter](https://github.com/nvim-treesitter/nvim-treesitter)\n* [telescope-nvim](https://github.com/nvim-telescope/telescope.nvim)\n* [vim-clap](https://github.com/liuchengxu/vim-clap)\n* [vim-gitgutter](https://github.com/airblade/vim-gitgutter)\n* [vim-indent-guides](https://github.com/nathanaelkane/vim-indent-guides)\n* [vim-sneak](https://github.com/justinmk/vim-sneak)\n* [vim-startify](https://github.com/mhinz/vim-startify)\n\nPlugin support is still a work in progress and more will come, if there is\nanything missing that you'd like to add please open an issue and let me know.\n\n## Attribution\n\nThis project started as essentially a palette swap of\n[Gruvbox](https://github.com/morhetz/gruvbox) and all credit goes to the\nmaintainers of that fantastic color scheme. I wanted something a bit sharper, but\nI loved the syntax color choices of Gruvbox. I also tried to make the theme as\nsimple to use as possible, which was inspired by\n[Flattened](https://github.com/romainl/flattened). Other themes that influenced\nSrcery:\n\n * [Base16](http://chriskempson.com/projects/base16/)\n * [Badwolf](https://github.com/sjl/badwolf)\n * [Jellybeans](https://github.com/nanotech/jellybeans.vim)\n * [Molokai](https://github.com/tomasr/molokai)\n\n## Troubleshooting\n\n### Colors don't look right\n\nEnsure that 256 colors are enabled in vim by setting this option **before** setting the colorscheme.\n\n```viml\nset t_Co=256\n```\n\n### 24-bit color, tmux and Neovim\n\nIf you want to use GUI colors in terminal make sure that tmux pass\nthrough 24-bit color codes. For example, if you use\n[Termite](https://github.com/thestinger/termite) add it to the\nterminal overrides setting:\n\n```tmux\nset -ga terminal-overrides \",xterm-termite:Tc\"\n```\n\nFor other terminals, replace `xterm-termite` with the relevant\nterminal type. (stored in `$TERM`).\n\nSee [Arch wiki](https://wiki.archlinux.org/index.php/Tmux#24-bit_color)\nand this [issue](https://github.com/srcery-colors/srcery-vim/issues/36).\n\n## Extra\n\n### Emacs\n\n Check out [srcery-emacs](https://github.com/srcery-colors/srcery-emacs)\n","funding_links":[],"categories":["Vim Script","Vim script","Palettes"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrcery-colors%2Fsrcery-vim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsrcery-colors%2Fsrcery-vim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrcery-colors%2Fsrcery-vim/lists"}