Carvion.nvim is a modular colorscheme for Neovim focused on clarity consistency, and extensibility.
Minimum requirements:
- Neovim >= 0.9.0
Install using your preferred plugin manager.
Caution
This method is only available in Neovim >= 0.12.0
Using the built-in package manager:
vim.pack.add({
{ src = "https://github.com/zitrocode/carvion.nvim", name = 'carvion' }
})For more details see: :help vim.pack
{ "zitrocode/carvion.nvim", lazy = false, priority = 1000, opts = {} }For more details see: https://github.com/folke/lazy.nvim
use { "zitrocode/carvion.nvim", as="carvion" }For more details see: https://github.com/wbthomason/packer.nvim
Enabled the colorscheme:
vim.cmd.colorscheme('carvion')Carvion.nvim provides optional configuration using:
require('carvion').setup({}) require("carvion").setup({
transparent = false,
styles = {
comments = { italic = true },
keywords = {},
functions = {},
variables = {},
strings = {},
types = {}
}
})Disable background colors.
Example:
require('carvion').setup({
transparent = true
})Apply highlights styles to specific syntax group. Each value accepts any valid highlight attribute supported by |nvim_set_hl|
Example:
require('carvion').setup({
styles = {
comments = { italic = true },
functions = { italic = true },
keywords = { bold = true }
}
})Available style groups comments, keywords, functions, variables,
strings and types.
Carvion.nvim includes highlight support for selected plugins.
Plugin highlights are loaded automatically when the plugins in available.
If a plugin you use is not supported yet, you can:
- Open an issue
- Submit a pull request with highlight definitions
For more details see: https://github.com/zitrocode/carvion.nvim
Carvion.nvim is distributed under the MIT License.
For full licence text see: LICENSE
