Specify the language for the examples

This commit is contained in:
He4eT 2022-07-12 22:29:43 +05:00 committed by GitHub
commit 1084b21ff5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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