https://github.com/hdonnay/solarized
Solarized for Neovim
https://github.com/hdonnay/solarized
lua neovim neovim-colorscheme neovim-lua neovim-theme solarized
Last synced: about 2 months ago
JSON representation
Solarized for Neovim
- Host: GitHub
- URL: https://github.com/hdonnay/solarized
- Owner: hdonnay
- License: other
- Created: 2024-05-26T19:19:46.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-11-08T22:32:41.000Z (6 months ago)
- Last Synced: 2025-01-25T17:13:38.617Z (4 months ago)
- Topics: lua, neovim, neovim-colorscheme, neovim-lua, neovim-theme, solarized
- Language: Lua
- Homepage:
- Size: 42 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Solarized for Neovim
This is a port of [solarized] for Neovim.
Lightly tested on neovim `0.9.5` and `0.10.0`.
## Installation
```
(
d=$HOME/.local/share/nvim/site/pack/themes/opt
mkdir -p $d && cd $d
git clone https://github.com/hdonnay/solarized.git
)
```The theme `solarized` should be available for use with `:colorscheme`.
## Configuration
To configure the color scheme, it must be loaded manually or a derivative color
scheme created. For example, given this lua file:```lua
-- ~/.config/nvim/colors/my-solarized.lua
vim.cmd.packadd('solarized')
require('solarized').init {
force_sync = false,
disable_format = { 'bold', 'italic' },
}
```Then `:colorscheme my-solarized` would load the color scheme without bold and
italic formatting attributes.See the annotations in the lua for the valid configuraiton options.
## Choices
- Only uses the terminal colors.
## Improvements
- There may be some colors hard-coded for the dark variant.
- More modules welcome.[solarized]: https://github.com/altercation/solarized