Unofficial port of the OpenCode oc-2 theme for Neovim
- 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)
Using Lazy:
{ '0xleodevv/oc-2.nvim' },Using Packer:
use '0xleodevv/oc-2.nvim'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')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.
