https://github.com/m15a/nvim-srcerite
Neovim colorscheme inspired by Srcery
https://github.com/m15a/nvim-srcerite
colorscheme neovim-plugin nvim-highlite srcery
Last synced: 8 months ago
JSON representation
Neovim colorscheme inspired by Srcery
- Host: GitHub
- URL: https://github.com/m15a/nvim-srcerite
- Owner: m15a
- License: bsd-3-clause
- Created: 2024-02-07T08:09:48.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-13T04:08:24.000Z (almost 2 years ago)
- Last Synced: 2024-05-13T05:22:46.932Z (almost 2 years ago)
- Topics: colorscheme, neovim-plugin, nvim-highlite, srcery
- Language: Lua
- Homepage:
- Size: 207 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
- awesome-neovim-sorted - m15a/nvim-srcerite
- awesome-neovim - m15a/nvim-srcerite - **_`[TS][Lua]`_** A colorscheme inspired by [Srcery](https://srcery.sh/), based on `nvim-highlite`. (Colorscheme / Assembly)
README
# nvim-srcerite
Neovim colorscheme inspired by [Srcery][1].
[![CI][b1]][b2]
[![Release][b3]][b4]
[![Srcery][b5]][1]
[![Highlite][b6]][2]
[b1]: https://img.shields.io/github/actions/workflow/status/m15a/nvim-srcerite/ci.yml?logo=github&label=CI&style=flat-square
[b2]: https://github.com/m15a/nvim-srcerite/actions/workflows/ci.yml
[b3]: https://img.shields.io/github/release/m15a/nvim-srcerite.svg?style=flat-square
[b4]: https://github.com/m15a/nvim-srcerite/releases
[b5]: https://img.shields.io/badge/srcery-v1.0.4-ff5c8f.svg?style=flat-square
[b6]: https://img.shields.io/badge/highlite-v4-0aaeb3.svg?style=flat-square

## Description
`srcerite` is a Neovim colorscheme made with [nvim-highlite][2], the
Neovim colorscheme generator. It is heavily inspired by [srcery-vim][3],
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][2]. After
installation, append the following line to your `init.lua`.
```lua
vim.cmd.colorscheme 'srcerite'
```
## Configuration
You can customize this colorscheme using the following global variables.
### Options
| Option | Description | Type | Default |
| :- | :- | :- | :- |
| [srcerite_inverse_visual](#srcerite_inverse_visual) | Inverse color of visual selection. | bool | `true` |
| [srcerite_inverse_search](#srcerite_inverse_search) | Inverse color of search matches. | bool | `false` |
| [srcerite_inverse_match_paren](#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`).
```lua
vim.g.srcerite_inverse_vidual = false
```
#### `srcerite_inverse_search`
Enable inverse highlighting of search matches (default: `false`).
```lua
vim.g.srcerite_inverse_search = true
```
#### `srcerite_inverse_match_paren`
Enable inverse highlighting of matched parentheses (default: `false`).
```lua
vim.g.srcerite_inverse_match_paren = true
```
## Contributing
If you like this colorscheme, don't forget to add star to
[nvim-highlite][2] and [srcery-vim][3]. Any contribution to this
project is also welcome.
## License
[BSD 3-Clause](LICENSE)
[1]: https://srcery.sh/
[2]: https://github.com/Iron-E/nvim-highlite
[3]: https://github.com/srcery-colors/srcery-vim