Another customizable not-so-colorful neovim colorscheme
  • Lua 99.4%
  • Vim Script 0.6%
Find a file
2022-07-12 20:31:56 +03:00
colors Rename theme files 2022-07-12 01:41:36 +03:00
lua/lush_theme Add FloatBorder colors 2022-07-12 19:17:20 +03:00
screenshots Add screenshot with default colors 2022-07-12 20:31:56 +03:00
LICENSE Update license 2022-07-12 02:05:44 +03:00
README.md Specify the language for the examples 2022-07-12 22:29:43 +05:00

desolate.nvim

Another not-so-colorful neovim colorscheme based on m o n o t o n e.

Installation

This colorscheme depends on lush.nvim. Example using packer.nvim:

require('packer').startup(function()
  -- ...
  use 'rktjmp/lush.nvim'
  use 'He4eT/desolate.nvim'
  -- ...
end)

vim.cmd [[colorscheme desolate]]

Customization

The background and normal text colors can be configured with:

vim.g.desolate_bg
vim.g.desolate_fg

Accent colors may be defined by setting:

vim.g.desolate_constant
vim.g.desolate_identifier
vim.g.desolate_statement

Colors for error, warning, success and info messages:

vim.g.desolate_error
vim.g.desolate_warning
vim.g.desolate_success
vim.g.desolate_info

The base color may be customized by setting HSL values with:

vim.g.desolate_[hsl]

Also you may slightly adjust the colorscheme contrast to your liking by setting:

vim.g.desolate_contrast

Configuration example

Default settings

vim.g.desolate_h = 0
vim.g.desolate_s = 0
vim.g.desolate_l = 70
vim.g.desolate_contrast = 120

vim.g.desolate_fg = '#cdcdcd'
vim.g.desolate_bg = '#383838'

vim.g.desolate_constant = '#ffd700'
vim.g.desolate_identifier = '#ffc812'
vim.g.desolate_statement = '#ffffff'

vim.g.desolate_error = '#ff5111'
vim.g.desolate_warning = '#ffc812'
vim.g.desolate_success = '#4e9a06'
vim.g.desolate_info = '#ffffff'