Skip to content

m15a/nvim-srcerite

Repository files navigation

nvim-srcerite

Neovim colorscheme inspired by Srcery.

CI Release Srcery Highlite

Screenshot

Description

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.

Installation

Use any package manager. It requires nvim-highlite. After installation, append the following line to your init.lua.

vim.cmd.colorscheme 'srcerite'

Configuration

You can customize this colorscheme using the following global variables.

Options

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

srcerite_inverse_visual

Replace foreground and background colors with each other (i.e. inverse highlighting) in visual selection (default: true).

vim.g.srcerite_inverse_vidual = false

srcerite_inverse_search

Enable inverse highlighting of search matches (default: false).

vim.g.srcerite_inverse_search = true

srcerite_inverse_match_paren

Enable inverse highlighting of matched parentheses (default: false).

vim.g.srcerite_inverse_match_paren = true

Contributing

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.

License

BSD 3-Clause