Skip to content
This repository has been archived by the owner on Dec 10, 2022. It is now read-only.

Dich0tomy/oxocarbon-lua.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

oxocarbon.nvim rewritten in fennel!

The original theme has been rewritten in fennel, which means this plugin is not needed anymore. I leave it as a public archive.

oxocarbon-lua.nvim

A lua rewrite of the original oxocarbon.nvim theme written in Rust.
Original author: @shaunsingh

Table Of Contents

Installing

Install using your favourite package manager, e.g. packer:

use 'B4mbus/oxocarbon-lua.nvim'

or plug:

Plug 'B4mbus/oxocarbon-lua.nvim'

Using

If you are using lua and the newest 0.8.0 neovim version do:

vim.cmd.colorscheme 'oxocarbon-lua'

Otherwise:

vim.cmd 'colorscheme oxocarbon-lua'

If you have a vimscript configuration this will get the theme running:

colorscheme oxocarbon-lua

Additional configuration

Disabling terminal colors

The original theme sets the terminal colors to oxocarbon's pallete, but it seems like a lot of tools use only the few first (black and white), which can make the usage of the terminal really annoying.

vim.g.oxocarbon_lua_keep_terminal = true

or

let g:oxocarbon_lua_keep_terminal = 1
Disabling italics
vim.g.oxocarbon_lua_disable_italic = true

or

let g:oxocarbon_lua_disable_italic = 1
Enabling transparency
vim.g.oxocarbon_lua_transparent = true

or

let g:oxocarbon_lua_transparent = 1
Alternative telescope style

The original's telescope looks like this: Original telescope

With this variable set it will look like this: Original telescope

vim.g.oxocarbon_lua_alternative_telescope = true

or

let g:oxocarbon_lua_alternative_telescope = 1