Skip to content

0xleodevv/oc-2.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Open Code Colourscheme for Nvim

Unofficial port of the OpenCode oc-2 theme for Neovim

Preview

Variants

  • oc-2 — faithful port of the original oc-2 theme, keeping as close to the source as possible
  • oc-2-noir — custom adaptation with slightly more contrast (this variant may change more as I'm still playing with the colours)

Installation

Using Lazy:

{ '0xleodevv/oc-2.nvim' },

Using Packer:

use '0xleodevv/oc-2.nvim'

Configuration

require('oc2').setup({
    theme = "oc-2", -- "oc-2" | "oc-2-noir"
    overrides = {}, -- A dictionary of highlight group overrides
})

Then set the colorscheme:

vim.cmd.colorscheme('oc-2')
-- or
vim.cmd.colorscheme('oc-2-noir')

Status

Early stage — some colours may not be accurate yet. The noir variant in particular is still evolving. Very happy for contributions! If you spot an inaccurate colour or have improvements, please open an issue or PR.

License

MIT License

About

Port of the OC-2 OpenCode theme to Neovim.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages