mirror of
https://github.com/He4eT/desolate.nvim.git
synced 2026-05-04 17:07:23 +00:00
Specify the language for the examples
This commit is contained in:
parent
86b8209b9b
commit
1084b21ff5
1 changed files with 7 additions and 7 deletions
14
README.md
14
README.md
|
|
@ -7,7 +7,7 @@ Another not-so-colorful neovim colorscheme based on
|
|||
|
||||
This colorscheme depends on [lush.nvim](https://github.com/rktjmp/lush.nvim). Example using packer.nvim:
|
||||
|
||||
```
|
||||
```lua
|
||||
require('packer').startup(function()
|
||||
-- ...
|
||||
use 'rktjmp/lush.nvim'
|
||||
|
|
@ -21,20 +21,20 @@ vim.cmd [[colorscheme desolate]]
|
|||
## Customization
|
||||
|
||||
The background and normal text colors can be configured with:
|
||||
```
|
||||
```lua
|
||||
vim.g.desolate_bg
|
||||
vim.g.desolate_fg
|
||||
```
|
||||
|
||||
Accent colors may be defined by setting:
|
||||
```
|
||||
```lua
|
||||
vim.g.desolate_constant
|
||||
vim.g.desolate_identifier
|
||||
vim.g.desolate_statement
|
||||
```
|
||||
|
||||
Colors for error, warning, success and info messages:
|
||||
```
|
||||
```lua
|
||||
vim.g.desolate_error
|
||||
vim.g.desolate_warning
|
||||
vim.g.desolate_success
|
||||
|
|
@ -42,19 +42,19 @@ vim.g.desolate_info
|
|||
```
|
||||
|
||||
The base color may be customized by setting HSL values with:
|
||||
```
|
||||
```lua
|
||||
vim.g.desolate_[hsl]
|
||||
```
|
||||
|
||||
Also you may slightly adjust the colorscheme contrast to your liking by setting:
|
||||
```
|
||||
```lua
|
||||
vim.g.desolate_contrast
|
||||
```
|
||||
|
||||
## Configuration example
|
||||
|
||||
### Default settings
|
||||
```
|
||||
```lua
|
||||
vim.g.desolate_h = 0
|
||||
vim.g.desolate_s = 0
|
||||
vim.g.desolate_l = 70
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue