Skip to content

zitrocode/carvion.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Carvion

Carvion.nvim is a modular colorscheme for Neovim focused on clarity consistency, and extensibility.

Carvion.nvim colorscheme showing syntax highlighting in Neovim

Requeriments

Minimum requirements:

  • Neovim >= 0.9.0

Installation

Install using your preferred plugin manager.

vim.pack:

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

Lazy.nvim

  { "zitrocode/carvion.nvim", lazy = false, priority = 1000, opts = {} }

For more details see: https://github.com/folke/lazy.nvim

Packer.nvim

  use { "zitrocode/carvion.nvim", as="carvion" }

For more details see: https://github.com/wbthomason/packer.nvim

Usage

Enabled the colorscheme:

  vim.cmd.colorscheme('carvion')

Configuration

Carvion.nvim provides optional configuration using:

  require('carvion').setup({})

Default configuration:

  require("carvion").setup({
    transparent = false,
    styles = {
      comments = { italic = true },
      keywords = {},
      functions = {},
      variables = {},
      strings = {},
      types = {}
    }
  })

Transparent

Disable background colors.

Example:

  require('carvion').setup({
    transparent = true
  })

Styles

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.

Supported Plugins

Carvion.nvim includes highlight support for selected plugins.

Currently Supported

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

License

Carvion.nvim is distributed under the MIT License. For full licence text see: LICENSE

About

🟧 A warm orange-focused Neovim colorscheme written in Lua, with Tree-sitter, LSP and plugin support.

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

 
 
 

Languages