Neovim colorscheme inspired by Srcery.
srcerite
is a Neovim colorscheme made with nvim-highlite, the
Neovim colorscheme generator. It is heavily inspired by srcery-vim,
long time my favorite Vim colorscheme.
As its name implies, srcerite
is a mix-in of srcery
and highlite
:
it is intended to make the best use of srcery
's contrasting color
palette and highlite
's semantic syntax highlighting.
Use any package manager. It requires nvim-highlite. After
installation, append the following line to your init.lua
.
vim.cmd.colorscheme 'srcerite'
You can customize this colorscheme using the following global variables.
Option | Description | Type | Default |
---|---|---|---|
srcerite_inverse_visual | Inverse color of visual selection. | bool | true |
srcerite_inverse_search | Inverse color of search matches. | bool | false |
srcerite_inverse_match_paren | Inverse color of matched parens. | bool | false |
Replace foreground and background colors with each other (i.e. inverse
highlighting) in visual selection (default: true
).
vim.g.srcerite_inverse_vidual = false
Enable inverse highlighting of search matches (default: false
).
vim.g.srcerite_inverse_search = true
Enable inverse highlighting of matched parentheses (default: false
).
vim.g.srcerite_inverse_match_paren = true
If you like this colorscheme, don't forget to add star to nvim-highlite and srcery-vim. Any contribution to this project is also welcome.