{"id":13479858,"url":"https://github.com/cormacrelf/vim-colors-github","last_synced_at":"2025-04-06T21:16:38.436Z","repository":{"id":34632543,"uuid":"152876244","full_name":"cormacrelf/vim-colors-github","owner":"cormacrelf","description":"A Vim colorscheme based on Github's syntax highlighting as of 2018.","archived":false,"fork":false,"pushed_at":"2022-03-20T11:14:32.000Z","size":1926,"stargazers_count":377,"open_issues_count":12,"forks_count":42,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-03-30T19:11:04.397Z","etag":null,"topics":["colorscheme","github","neovim","nvim","vim"],"latest_commit_sha":null,"homepage":"","language":"Vim script","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cormacrelf.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-10-13T13:45:25.000Z","updated_at":"2025-03-06T14:57:49.000Z","dependencies_parsed_at":"2022-08-08T01:15:59.300Z","dependency_job_id":null,"html_url":"https://github.com/cormacrelf/vim-colors-github","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cormacrelf%2Fvim-colors-github","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cormacrelf%2Fvim-colors-github/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cormacrelf%2Fvim-colors-github/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cormacrelf%2Fvim-colors-github/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cormacrelf","download_url":"https://codeload.github.com/cormacrelf/vim-colors-github/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247550693,"owners_count":20956987,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["colorscheme","github","neovim","nvim","vim"],"created_at":"2024-07-31T16:02:24.066Z","updated_at":"2025-04-06T21:16:38.414Z","avatar_url":"https://github.com/cormacrelf.png","language":"Vim script","readme":"# vim-colors-github\n\nA Vim colorscheme based on Github's syntax highlighting as of 2018.\n\nI wasn't happy with [endel/vim-github-colorscheme](https://github.com/endel/vim-github-colorscheme), as it was out of date.\n\nIt degrades gracefully in non-gui mode (ie ctermbg/ctermfg/256colors).\n\nIt supports the following plugins:\n[airline](https://github.com/vim-airline/vim-airline),\n[lightline](https://github.com/vim-airline/lightline),\n[fzf](https://github.com/junegunn/fzf),\n[GitGutter](https://github.com/airblade/vim-gitgutter),\n[NERDTree](https://github.com/scrooloose/nerdtree),\n[Startify](https://github.com/mhinz/vim-startify),\n[sneak](https://github.com/justinmk/vim-sneak),\nand `:terminal`.\n\nExtra tuning has been done for the following languages:\nVim script, Markdown, Pandoc Markdown \n([vim-pandoc-syntax](https://github.com/vim-pandoc/vim-pandoc-syntax))\nDiff, C, Rust,\nGo ([fatih/vim-go](https://github.com/fatih/vim-go)),\nHaskell \n([neovimhaskell/haskell-vim](https://github.com/neovimhaskell/haskell-vim)),\nRuby, Python, HTML, XML, TOML, YAML, Clojure, Typescript,\n([leafgarland/vim-typescript](https://github.com/leafgarland/vim-typescript)),\nJSX/TSX \n([MaxMEllon/vim-jsx-pretty](https://github.com/MaxMEllon/vim-jsx-pretty)),. \n\n\n## Install\n\nInstall with your favourite plugin manager. For vim-plug:\n\n```vim\nPlug 'cormacrelf/vim-colors-github'\n```\n\nThen set your colorscheme to 'github':\n\n```vim\n\" in your .vimrc or init.vim\ncolorscheme github\n\n\" if you use airline / lightline\nlet g:airline_theme = \"github\"\nlet g:lightline = { 'colorscheme': 'github' }\n```\n\n## Options\n\nPlace **before** the `colorscheme github`:\n\n```vim\n\" use a slightly darker background, like GitHub inline code blocks\nlet g:github_colors_soft = 1\n\n\" use the dark theme\nset background=dark\n\n\" more blocky diff markers in signcolumn (e.g. GitGutter)\nlet g:github_colors_block_diffmark = 0\n\n:help github_colors.txt\n```\n\n### How to toggle background and also refresh the Lightline theme?\n\nThere is a built-in background toggler that does this. Make a mapping for it \nlike so:\n\n```vim\ncall github_colors#togglebg_map('\u003cf5\u003e')\n```\n\n## Screenshots\n\n### Dark\n\n![Dark](shots/dark.png)\n\n![Dark UI](shots/dark-ui-elements.png)\n\n![Dark Diff](shots/dark-diff.png)\n\n### Light\n\n![Light](shots/light.png)\n\n![Light UI](shots/light-ui-elements.png)\n\n![Light Diff](shots/light-diff.png)\n\n### Soft\n\n![Soft](shots/soft.png)\n\n![Soft UI](shots/soft-ui-elements.png)\n\n![Soft Diff](shots/soft-diff.png)\n\n## License\n\nDistributed under the same terms as Vim itself. See `:help license`.\n","funding_links":[],"categories":["Vim Script"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcormacrelf%2Fvim-colors-github","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcormacrelf%2Fvim-colors-github","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcormacrelf%2Fvim-colors-github/lists"}