annotate vendor/vim-packs/srcery-vim/README.md @ 727:49538e2aad65 default tip

Add a useful editrc
author nanaya <me@nanaya.net>
date Tue, 24 Sep 2024 16:58:15 +0900
parents 78469331407e
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
726
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
1 <p align="center">
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
2 <img src="https://raw.githubusercontent.com/srcery-colors/srcery-assets/master/src/logo_border.svg">
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
3 </p>
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
4
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
5 <p align="center">
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
6 <a href="https://srcery.sh">
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
7 <img src="https://img.shields.io/static/v1?label=&message=website&style=flat&color=5B5B5B&logo=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=">
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
8 </a>
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
9 <a href="https://discord.gg/G6vBMmZ">
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
10 <img src="https://img.shields.io/discord/714101903377694741?color=%232C78BF&label=discord&logo=discord">
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
11 </a>
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
12 <a href="https://github.com/orgs/srcery-colors/repositories">
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
13 <img src="https://img.shields.io/github/actions/workflow/status/srcery-colors/srcery-vim/lint.yaml?color=%2398BC37&logo=github">
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
14 </a>
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
15
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
16 <a href="https://www.npmjs.com/package/@srcery-colors/srcery-palette">
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
17 <img src="https://img.shields.io/npm/v/@srcery-colors/srcery-palette?color=%23FBB829&label=Palette%20version&logo=npm">
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
18 </a>
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
19 </p>
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
20
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
21 <p align="center">
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
22 Srcery is a color scheme with clearly defined contrasting colors and a
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
23 slightly earthy tone.
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
24 </p>
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
25
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
26 <details>
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
27 <summary><strong>Table of content</strong></summary>
704
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
28
726
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
29 - [Requirements](#requirements)
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
30 - [GUI](#gui)
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
31 - [TUI](#tui)
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
32 - [Installation](#installation)
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
33 - [Manually](#manually)
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
34 - [Vim 8](#vim-8)
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
35 - [dein.vim](#deinvim)
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
36 - [vim-pathogen](#vim-pathogen)
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
37 - [vim-plug](#vim-plug)
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
38 - [packer](#packer)
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
39 - [Usage](#usage)
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
40 - [Configuration](#configuration)
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
41 - [Colors](#colors)
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
42 - [Options](#options)
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
43 - [g:srcery\_bold](#gsrcery_bold)
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
44 - [g:srcery\_italic](#gsrcery_italic)
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
45 - [g:srcery\_underline](#gsrcery_underline)
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
46 - [g:srcery\_undercurl](#gsrcery_undercurl)
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
47 - [g:srcery\_strikethrough](#gsrcery_strikethrough)
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
48 - [g:srcery\_inverse](#gsrcery_inverse)
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
49 - [g:srcery\_inverse\_matches](#gsrcery_inverse_matches)
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
50 - [g:srcery\_inverse\_match\_paren](#gsrcery_inverse_match_paren)
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
51 - [g:srcery\_dim\_lisp\_paren](#gsrcery_dim_lisp_paren)
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
52 - [g:srcery\_guisp\_fallback](#gsrcery_guisp_fallback)
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
53 - [g:srcery\_italic\_types](#gsrcery_italic_types)
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
54 - [g:srcery\_bg](#gsrcery_bg)
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
55 - [g:srcery\_hard\_black\_terminal\_bg](#gsrcery_hard_black_terminal_bg)
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
56 - [Screenshots](#screenshots)
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
57 - [Plugin support](#plugin-support)
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
58 - [Lightline](#lightline)
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
59 - [Airline](#airline)
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
60 - [Other](#other)
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
61 - [Attribution](#attribution)
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
62 - [Troubleshooting](#troubleshooting)
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
63 - [Colors don't look right](#colors-dont-look-right)
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
64 - [24-bit color, tmux and Neovim](#24-bit-color-tmux-and-neovim)
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
65 - [Extra](#extra)
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
66 - [Emacs](#emacs)
704
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
67
726
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
68
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
69 </details>
704
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
70
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
71 ## Requirements
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
72
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
73 ### GUI
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
74
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
75 You don’t need to do anything for this colorscheme to work in gVim or MacVim.
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
76
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
77 ### TUI
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
78
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
79 To use Srcery in the terminal you need to change your terminal emulator’s
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
80 so-called “ASCII” colors to the ones in the table below. There's a list of
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
81 terminal configurations in the
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
82 [srcery-terminal](https://github.com/srcery-colors/srcery-terminal) repository.
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
83
726
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
84 | IMG | TERMCOL | NR | VAR | HEX | RGB | HSL |
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
85 |------|---------|----|-----|-----|------|-----|
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
86 | ![black](https://place-hold.it/24x24/1c1b19?text=+) | black | 0 | `g:srcery_black` | #1C1B19 | 28, 27, 25 | 40, 6%, 10% |
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
87 | ![red](https://place-hold.it/24x24/ef2f27?text=+) | red | 1 | `g:srcery_red` | #EF2F27 | 239, 47, 39 | 2, 86%, 55% |
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
88 | ![green](https://place-hold.it/24x24/519f50?text=+) | green | 2 | `g:srcery_green` | #519F50 | 81, 159, 80 | 119, 33%, 47% |
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
89 | ![yellow](https://place-hold.it/24x24/fbb829?text=+) | yellow | 3 | `g:srcery_yellow` | #FBB829 | 251, 184, 41 | 41, 96%, 57% |
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
90 | ![blue](https://place-hold.it/24x24/2c78bf?text=+) | blue | 4 | `g:srcery_blue` | #2C78BF | 44, 120, 191 | 209, 63%, 46% |
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
91 | ![magenta](https://place-hold.it/24x24/e02c6d?text=+) | magenta | 5 | `g:srcery_magenta` | #E02C6D | 224, 44, 109 | 338, 74%, 53% |
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
92 | ![cyan](https://place-hold.it/24x24/0aaeb3?text=+) | cyan | 6 | `g:srcery_cyan` | #0AAEB3 | 10, 174, 179 | 182, 89%, 37% |
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
93 | ![white](https://place-hold.it/24x24/baa67f?text=+) | white | 7 | `g:srcery_white` | #BAA67F | 186, 166, 127 | 40, 30%, 61% |
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
94 | ![brightblack](https://place-hold.it/24x24/918175?text=+) | brightblack | 8 | `g:srcery_bright_black` | #918175 | 145, 129, 117 | 26, 11%, 51% |
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
95 | ![brightred](https://place-hold.it/24x24/f75341?text=+) | brightred | 9 | `g:srcery_bright_red` | #F75341 | 247, 83, 65 | 6, 92%, 61% |
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
96 | ![brightgreen](https://place-hold.it/24x24/98bc37?text=+) | brightgreen | 10 | `g:srcery_bright_green` | #98BC37 | 152, 188, 55 | 76, 55%, 48% |
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
97 | ![brightyellow](https://place-hold.it/24x24/fed06e?text=+) | brightyellow | 11 | `g:srcery_bright_yellow` | #FED06E | 254, 208, 110 | 41, 99%, 71% |
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
98 | ![brightblue](https://place-hold.it/24x24/68a8e4?text=+) | brightblue | 12 | `g:srcery_bright_blue` | #68A8E4 | 104, 168, 228 | 209, 70%, 65% |
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
99 | ![brightmagenta](https://place-hold.it/24x24/ff5c8f?text=+) | brightmagenta | 13 | `g:srcery_bright_magenta` | #FF5C8F | 255, 92, 143 | 341, 100%, 68% |
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
100 | ![brightcyan](https://place-hold.it/24x24/2be4d0?text=+) | brightcyan | 14 | `g:srcery_bright_cyan` | #2BE4D0 | 43, 228, 208 | 174, 77%, 53% |
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
101 | ![brightwhite](https://place-hold.it/24x24/fce8c3?text=+) | brightwhite | 15 | `g:srcery_bright_white` | #FCE8C3 | 252, 232, 195 | 39, 90%, 88% |
704
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
102
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
103 Additionally Srcery uses some [xterm 256
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
104 colors](https://en.wikipedia.org/wiki/Xterm#/media/File:Xterm_256color_chart.svg)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
105 to pad out the color selection, no extra configuration needed.
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
106
726
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
107 | IMG | NAME | NR | VAR | HEX | RGB | HSL |
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
108 |------|------|----|-----|-----|------|-----|
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
109 | ![orange](https://place-hold.it/24x24/ff5f00?text=+) | orange | 202 | `g:srcery_orange`, `g:srcery_orange_cterm` | #FF5F00 | 255, 95, 0 | 22, 100%, 50% |
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
110 | ![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% |
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
111 | ![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% |
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
112 | ![xgray1](https://place-hold.it/24x24/262626?text=+) | xgray1 | 235 | `g:srcery_xgray1`, `g:srcery_xgray1_cterm` | #262626 | 38, 38, 38 | 0, 0%, 15% |
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
113 | ![xgray2](https://place-hold.it/24x24/303030?text=+) | xgray2 | 236 | `g:srcery_xgray2`, `g:srcery_xgray2_cterm` | #303030 | 48, 48, 48 | 0, 0%, 19% |
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
114 | ![xgray3](https://place-hold.it/24x24/3a3a3a?text=+) | xgray3 | 237 | `g:srcery_xgray3`, `g:srcery_xgray3_cterm` | #3A3A3A | 58, 58, 58 | 0, 0%, 23% |
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
115 | ![xgray4](https://place-hold.it/24x24/444444?text=+) | xgray4 | 238 | `g:srcery_xgray4`, `g:srcery_xgray4_cterm` |#444444 | 68, 68, 68 | 0, 0%, 27% |
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
116 | ![xgray5](https://place-hold.it/24x24/4e4e4e?text=+) | xgray5 | 239 | `g:srcery_xgray5`, `g:srcery_xgray5_cterm` | #4E4E4E | 78, 78, 78 | 0, 0%, 31% |
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
117 | ![xgray6](https://place-hold.it/24x24/585858?text=+) | xgray6 | 240 | `g:srcery_xgray6`, `g:srcery_xgray6_cterm` | #585858 | 88, 88, 88 | 0, 0%, 35% |
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
118 <!-- | ![teal](https://place-hold.it/24x24/008080?text=+) | teal | 30 | N/A* | #008080 | 0, 128, 128 | 180, 100%, 25% | -->
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
119 <!-- | ![xgray7](https://place-hold.it/24x24/626262?text=+) | xgray7 | 241 | N/A* | #626262 | 98, 98, 98 | 0, 0%, 38% | -->
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
120 <!-- | ![xgray8](https://place-hold.it/24x24/6c6c6c?text=+) | xgray8 | 242 | N/A* | #6C6C6C | 108, 108, 108 | 0, 0%, 42% | -->
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
121 <!-- | ![xgray9](https://place-hold.it/24x24/767676?text=+) | xgray9 | 243 | N/A* | #767676 | 118, 118, 118 | 0, 0%, 46% | -->
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
122 <!-- | ![xgray10](https://place-hold.it/24x24/808080?text=+) | xgray10 | 244 | N/A* | #808080 | 128, 128, 128 | 0, 0%, 50% | -->
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
123 <!-- | ![xgray11](https://place-hold.it/24x24/8a8a8a?text=+) | xgray11 | 245 | N/A* | #8A8A8A | 138, 138, 138 | 0, 0%, 54% | -->
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
124 <!-- | ![xgray12](https://place-hold.it/24x24/949494?text=+) | xgray12 | 246 | N/A* | #949494 | 148, 148, 148 | 0, 0%, 58% | -->
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
125 <!-- > \* 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. -->
704
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
126
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
127 ## Installation
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
128
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
129 ### Manually
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
130
726
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
131 Download 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.
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
132
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
133 You can also install with your favourite plugin manager.
704
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
134
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
135 ### Vim 8
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
136
726
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
137 Vim 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`.
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
138
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
139 git clone https://github.com/srcery-colors/srcery-vim ~/.vim/pack/themes/opt/srcery-vim
704
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
140
726
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
141 And then set your `.vimrc` accordingly.
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
142
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
143 ```vim
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
144 packadd! srcery-vim
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
145 colorscheme srcery
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
146 ```
704
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
147
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
148 The same works for Neovim, but you have to clone it into a path where Neovim can
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
149 find it.
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
150
726
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
151 git clone https://github.com/srcery-colors/srcery-vim $XDG_CONFIG_HOME/nvim/pack/themes/opt
704
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
152
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
153 ### [dein.vim](https://github.com/Shougo/dein.vim)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
154
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
155 ```vim
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
156 call dein#add('srcery-colors/srcery-vim')
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
157 ```
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
158
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
159 ### [vim-pathogen](https://github.com/tpope/vim-pathogen)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
160
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
161 ```shell
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
162 cd ~/.vim/bundle
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
163 git clone https://github.com/srcery-colors/srcery-vim
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
164 ```
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
165
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
166 ### [vim-plug](https://github.com/junegunn/vim-plug)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
167
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
168 ```vim
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
169 Plug 'srcery-colors/srcery-vim'
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
170 ```
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
171 ### [packer](https://github.com/wbthomason/packer.nvim)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
172 ```lua
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
173 use {'srcery-colors/srcery-vim', as = 'srcery'}
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
174 ```
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
175
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
176 ## Usage
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
177
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
178 ```
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
179 :color srcery
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
180 ```
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
181
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
182 If you like what you see and decide to make srcery your default colorscheme, add the relevant line to your `.vimrc`:
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
183
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
184 ```vim
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
185 colorscheme srcery
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
186 ```
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
187
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
188 ## Configuration
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
189
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
190 Srcery includes a few toggles due to discrepancies in the various setups possible.
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
191 To change any of these you'd put something like this in your `.vimrc`
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
192
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
193 ```vim
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
194 let g:srcery_italic = 1
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
195 ```
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
196
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
197 Make sure that you set these variables before assigning `colorscheme`.
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
198
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
199 ### Colors
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
200
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
201 You can customize each of Srcery's colors, to customize say the red color:
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
202
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
203 ```vim
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
204 let g:srcery_red = '#FF0000'
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
205 ```
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
206
726
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
207 Inside a 256-color terminal emulator, additional colors are configurable
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
208 via setting the corresponding variable with the \_cterm suffix, e.g.
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
209
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
210 ```vim
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
211 let g:srcery_hard_black_cterm = 232
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
212 ```
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
213
704
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
214 Refer to the [table](#TUI) for a full list of color variables, hexes and more.
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
215
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
216 This will only work on `set termguicolors` and in gVim, to override terminal
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
217 colors, do so in your [terminal
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
218 configuration](https://github.com/srcery-colors/srcery-terminal).
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
219
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
220 ### Options
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
221
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
222 #### g:srcery\_bold
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
223
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
224 Enables bold text.
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
225
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
226 Default: 1
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
227
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
228 #### g:srcery\_italic
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
229
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
230 Enables italic text.
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
231
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
232 Default: gui 1, term 0
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
233
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
234 #### g:srcery\_underline
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
235
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
236 Enables underlined text.
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
237
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
238 Default: 1
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
239
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
240 #### g:srcery\_undercurl
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
241
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
242 Enables undercurled text.
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
243
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
244 Default: 1
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
245
726
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
246 #### g:srcery\_strikethrough
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
247
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
248 Enables strikethrough text.
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
249
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
250 Default: 1
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
251
704
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
252 #### g:srcery\_inverse
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
253
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
254 Enable or disable inverse highlighting (foreground becomes background,
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
255 vice versa). This is used for visual selection, search highlights and
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
256 some other things.
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
257
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
258 Srcery will fall back to other methods of highlighting if this is
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
259 disabled.
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
260
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
261 Default: 1
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
262
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
263 #### g:srcery\_inverse\_matches
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
264
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
265 Highlight search matches using inverse colors.
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
266
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
267 Default: 0
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
268
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
269 #### g:srcery\_inverse\_match\_paren
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
270
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
271 When enabled will highlight matching delimiters using inverse colors.
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
272 (`:DoMatchParen`)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
273
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
274 Works best with [Rainbow parenthesis](https://github.com/kien/rainbow_parentheses.vim).
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
275
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
276 Default: 0
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
277
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
278 #### g:srcery\_dim\_lisp\_paren
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
279
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
280 Dims lisp dialects delimiters to a fairly dark gray (xgray5 specifically).
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
281
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
282 Default: 0
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
283
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
284 #### g:srcery\_guisp\_fallback
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
285
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
286 Sets up alternate highlighting for colored underline/undercurl. Some
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
287 environments are unable to color underline, so this setting will set either the
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
288 background or foreground to whatever color the underline is supposed to be.
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
289
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
290 This comes in handy if colored underline doesn't work, or underline is disabled
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
291 entirely.
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
292
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
293 Default: 'NONE'
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
294
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
295 Possible Values: 'fg', 'bg'
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
296
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
297 #### g:srcery\_italic\_types
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
298
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
299 Italicize types if italic is enabled.
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
300
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
301 Default: 0
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
302
726
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
303 #### g:srcery\_bg
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
304
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
305 Let's you customize the background color. This var takes a list with two
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
306 values, with a quoted HEX in the first position, and a terminal color index for
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
307 the second position. This lets you set both a 24-bit color, and a 8bit terminal
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
308 color index.
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
309
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
310 You can specify `'NONE'` as one of the values to make it transparent, as such
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
311 `['NONE', 'NONE']` would be the same as the previous option
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
312 `g:srcery_bg_passthrough = 1`.
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
313
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
314 You can specify `'DEFAULT'` as one of the values in order to use that
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
315 position's default value.
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
316
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
317 Default: `[g:srcery_black, 0]`
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
318
704
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
319 #### g:srcery\_hard\_black\_terminal\_bg
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
320
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
321 If enabled, will set the terminal background in vim to hard black.
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
322 Note that this currently only works in Vim, not Neovim.
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
323
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
324 Default: 1
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
325
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
326 ## Screenshots
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
327
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
328 viml, bash
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
329 ![viml\_bash](https://raw.githubusercontent.com/srcery-colors/srcery-assets/master/vim/viml_bash.png)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
330
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
331 clojure, elisp
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
332 ![lisp](https://raw.githubusercontent.com/srcery-colors/srcery-assets/master/vim/lisp.png)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
333
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
334 c, rust
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
335 ![c\_rust](https://raw.githubusercontent.com/srcery-colors/srcery-assets/master/vim/c_rust.png)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
336
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
337 python, js
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
338 ![py\_js](https://raw.githubusercontent.com/srcery-colors/srcery-assets/master/vim/py_js.png)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
339
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
340 git, terminal
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
341 ![git\_term](https://raw.githubusercontent.com/srcery-colors/srcery-assets/master/vim/git_term.png)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
342
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
343 Typeface used in screenshots is [Iosevka](https://github.com/be5invis/Iosevka)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
344
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
345 ## Plugin support
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
346
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
347 ### Lightline
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
348
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
349 ![lightline](https://raw.githubusercontent.com/srcery-colors/srcery-assets/master/vim/lightline.png)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
350
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
351 [Lightline](https://github.com/itchyny/lightline.vim) colorscheme.
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
352 To use it, include 'srcery' value in lightline configuration, like so:
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
353
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
354 ```vim
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
355 let g:lightline = {
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
356 \ 'colorscheme': 'srcery',
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
357 \ }
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
358 ```
726
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
359 ### Lualine
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
360
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
361 [Lualine](https://github.com/nvim-lualine/lualine.nvim) colorscheme.
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
362 It's the same as Lightline's. Enable it in your configuration:
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
363
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
364 ```
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
365 require('lualine').setup {
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
366 options = {
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
367 theme = 'srcery',
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
368 },
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
369 }
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
370 ```
704
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
371
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
372 ### Airline
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
373
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
374 ![airline](https://raw.githubusercontent.com/srcery-colors/srcery-assets/master/vim/airline.png)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
375
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
376 Thanks to [MindTooth](https://github.com/MindTooth), Srcery now includes an [Airline](https://github.com/vim-airline/vim-airline) theme.
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
377
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
378 ### Other
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
379
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
380 These don't require any additional configuration.
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
381
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
382 * [ale](https://github.com/w0rp/ale)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
383 * [coc.nvim](https://github.com/neoclide/coc.nvim)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
384 * [ctrlp.vim](https://github.com/ctrlpvim/ctrlp.vim)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
385 * [fzf.vim](https://github.com/junegunn/fzf.vim)
726
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
386 * [nerdtree](https://github.com/preservim/nerdtree)
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
387 * [nvim-cmp](https://github.com/hrsh7th/nvim-cmp)
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
388 * [nvim-treesitter](https://github.com/nvim-treesitter/nvim-treesitter)
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
389 * [telescope-nvim](https://github.com/nvim-telescope/telescope.nvim)
704
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
390 * [vim-clap](https://github.com/liuchengxu/vim-clap)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
391 * [vim-gitgutter](https://github.com/airblade/vim-gitgutter)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
392 * [vim-indent-guides](https://github.com/nathanaelkane/vim-indent-guides)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
393 * [vim-sneak](https://github.com/justinmk/vim-sneak)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
394 * [vim-startify](https://github.com/mhinz/vim-startify)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
395
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
396 Plugin support is still a work in progress and more will come, if there is
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
397 anything missing that you'd like to add please open an issue and let me know.
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
398
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
399 ## Attribution
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
400
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
401 This project started as essentially a palette swap of
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
402 [Gruvbox](https://github.com/morhetz/gruvbox) and all credit goes to the
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
403 maintainers of that fantastic color scheme. I wanted something a bit sharper, but
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
404 I loved the syntax color choices of Gruvbox. I also tried to make the theme as
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
405 simple to use as possible, which was inspired by
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
406 [Flattened](https://github.com/romainl/flattened). Other themes that influenced
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
407 Srcery:
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
408
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
409 * [Base16](http://chriskempson.com/projects/base16/)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
410 * [Badwolf](https://github.com/sjl/badwolf)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
411 * [Jellybeans](https://github.com/nanotech/jellybeans.vim)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
412 * [Molokai](https://github.com/tomasr/molokai)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
413
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
414 ## Troubleshooting
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
415
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
416 ### Colors don't look right
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
417
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
418 Ensure that 256 colors are enabled in vim by setting this option **before** setting the colorscheme.
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
419
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
420 ```viml
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
421 set t_Co=256
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
422 ```
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
423
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
424 ### 24-bit color, tmux and Neovim
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
425
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
426 If you want to use GUI colors in terminal make sure that tmux pass
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
427 through 24-bit color codes. For example, if you use
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
428 [Termite](https://github.com/thestinger/termite) add it to the
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
429 terminal overrides setting:
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
430
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
431 ```tmux
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
432 set -ga terminal-overrides ",xterm-termite:Tc"
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
433 ```
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
434
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
435 For other terminals, replace `xterm-termite` with the relevant
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
436 terminal type. (stored in `$TERM`).
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
437
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
438 See [Arch wiki](https://wiki.archlinux.org/index.php/Tmux#24-bit_color)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
439 and this [issue](https://github.com/srcery-colors/srcery-vim/issues/36).
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
440
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
441 ## Extra
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
442
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
443 ### Emacs
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
444
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
445 Check out [srcery-emacs](https://github.com/srcery-colors/srcery-emacs)