2023-01-10 21:11:37 +01:00
|
|
|
# gruber-darker.nvim
|
|
|
|
|
2023-01-11 04:13:59 +01:00
|
|
|
_A modern Neovim port of a deftheme [adaptation][gruber-darker-theme] of an Emacs
|
2023-01-11 03:14:06 +01:00
|
|
|
[port][gruber-darker] of a BBEdit [colorscheme][gruber-dark]_
|
2023-01-10 21:11:37 +01:00
|
|
|
|
2023-03-14 02:49:38 +01:00
|
|
|
**This is a work in progress**
|
2023-01-11 04:08:54 +01:00
|
|
|
|
2023-03-30 04:06:31 +02:00
|
|
|
![image](https://user-images.githubusercontent.com/9439488/228709407-d3c1cbb7-3639-4e29-a05d-c63270dae019.png)
|
|
|
|
|
2023-01-10 21:27:06 +01:00
|
|
|
## Installation
|
|
|
|
|
2023-03-26 16:03:06 +02:00
|
|
|
### Lazy (recommended)
|
2023-03-14 02:49:38 +01:00
|
|
|
|
|
|
|
```lua
|
|
|
|
{ "blazkowolf/gruber-darker.nvim" }
|
|
|
|
```
|
|
|
|
|
2023-01-10 21:27:06 +01:00
|
|
|
### Packer
|
|
|
|
|
|
|
|
```lua
|
2023-01-11 04:12:39 +01:00
|
|
|
use "blazkowolf/gruber-darker.nvim"
|
2023-01-10 21:27:06 +01:00
|
|
|
```
|
|
|
|
|
2023-03-14 02:49:38 +01:00
|
|
|
### Plug
|
|
|
|
|
|
|
|
```vim
|
|
|
|
Plug 'blazkowolf/gruber-darker.nvim'
|
|
|
|
```
|
|
|
|
|
2023-03-26 16:03:06 +02:00
|
|
|
Then, somewhere in your `init.lua`, set the colorscheme
|
2023-01-11 03:14:06 +01:00
|
|
|
|
|
|
|
```lua
|
2023-03-29 02:40:28 +02:00
|
|
|
vim.cmd.colorscheme("gruber-darker")
|
2023-01-11 03:14:06 +01:00
|
|
|
```
|
|
|
|
|
2023-03-13 12:31:31 +01:00
|
|
|
## Configuration
|
|
|
|
|
2023-03-26 16:03:06 +02:00
|
|
|
### Defaults
|
2023-03-13 12:31:31 +01:00
|
|
|
|
|
|
|
```lua
|
2023-03-26 16:03:06 +02:00
|
|
|
{
|
2023-03-29 02:40:28 +02:00
|
|
|
bold = true,
|
2023-03-30 06:13:32 +02:00
|
|
|
invert = {
|
|
|
|
signs = false,
|
2023-03-30 03:50:44 +02:00
|
|
|
},
|
2023-03-29 02:40:28 +02:00
|
|
|
italic = {
|
2023-03-26 16:03:06 +02:00
|
|
|
strings = true,
|
|
|
|
comments = true,
|
|
|
|
operators = false,
|
|
|
|
folds = true,
|
|
|
|
},
|
2023-03-30 03:50:44 +02:00
|
|
|
undercurl = true,
|
2023-03-29 02:40:28 +02:00
|
|
|
underline = true,
|
2023-03-26 16:03:06 +02:00
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
### With updated preferences
|
|
|
|
|
|
|
|
Change configuration options by calling `setup()`
|
|
|
|
prior to loading the colorscheme. Your preferences
|
|
|
|
will be merged with the defaults.
|
|
|
|
|
|
|
|
```lua
|
|
|
|
{
|
|
|
|
"blazkowolf/gruber-darker.nvim",
|
|
|
|
config = function()
|
|
|
|
require("gruber-darker").setup({
|
|
|
|
bold = false,
|
|
|
|
italic = {
|
|
|
|
strings = false,
|
|
|
|
},
|
|
|
|
})
|
|
|
|
end
|
|
|
|
}
|
2023-03-13 12:31:31 +01:00
|
|
|
```
|
|
|
|
|
2023-03-14 02:49:38 +01:00
|
|
|
## Credits
|
2023-01-11 03:14:06 +01:00
|
|
|
|
2023-01-21 18:24:49 +01:00
|
|
|
These repositories were great knowledge sources and their
|
|
|
|
inspiration helped immensely with the development of this plugin.
|
2023-01-11 03:14:06 +01:00
|
|
|
|
|
|
|
- [rexim/gruber-darker-theme][gruber-darker-theme]
|
|
|
|
- [folke/tokyonight.nvim][tokyonight]
|
2023-03-14 02:49:38 +01:00
|
|
|
- [drsooch/gruber-darker-vim][gruber-darker-vim]
|
2023-01-11 03:14:06 +01:00
|
|
|
|
2023-01-10 21:27:06 +01:00
|
|
|
[gruber-darker-theme]: https://github.com/rexim/gruber-darker-theme
|
2023-01-10 21:30:41 +01:00
|
|
|
[gruber-darker]: https://jblevins.org/projects/emacs-color-themes/gruber-darker-theme.el.html
|
2023-01-10 21:27:06 +01:00
|
|
|
[gruber-dark]: http://daringfireball.net/projects/bbcolors/schemes/
|
2023-01-11 03:14:06 +01:00
|
|
|
[tokyonight]: https://github.com/folke/tokyonight.nvim
|
|
|
|
[gruber-darker-vim]: https://github.com/drsooch/gruber-darker-vim
|