Lettepa for Neovim.
Configure Lettepa, then activate it using Neovim's colorscheme command:
require("lettepa").setup()
vim.cmd.colorscheme("lettepa")setup() configures the theme but does not replace the currently active
colorscheme. If Lettepa is already active, calling setup() again reapplies the
new configuration.
By default, Lettepa follows Neovim's background option: light selects the
light palette and dark selects the dark palette. This mapping can be
customized; the keys correspond to background values and the values name the
palette to apply:
require("lettepa").setup({
styles = {
light = "dark",
dark = "light",
},
})
vim.cmd.colorscheme("lettepa")The default mapping is equivalent to:
styles = {
light = "light",
dark = "dark",
}Unspecified entries retain their defaults. While Lettepa is active, changing
background reapplies the palette selected by this mapping.
All highlight groups are enabled by default.
| Group | Source | Highlight definitions |
|---|---|---|
builtin |
Neovim built-in highlights | :help highlight |
mini.indentscope |
mini.nvim mini.indentscope |
:help MiniIndentscope-hl-groups |
mini.statusline |
mini.nvim mini.statusline |
:help MiniStatusline-hl-groups |
mini.tabline |
mini.nvim mini.tabline |
:help MiniTabline-hl-groups |
Set mini = true to enable all supported Mini modules (the default behavior),
or mini = false to disable them all. To select them individually, use a table;
omitted entries remain enabled:
require("lettepa").setup({
groups = {
builtin = true,
mini = {
statusline = true,
tabline = false,
},
},
})
vim.cmd.colorscheme("lettepa")Calling setup() while Lettepa is active reloads the theme from a clean
highlight state, so disabled groups do not retain colors from the previous
configuration.
Like Lettepa, the Neovim port of Lettepa is licensed under the MIT License.