Dich0tomy / oxocarbon-lua.nvim

A lua rewrite of the original oxocarbon theme.
MIT License
81 stars 12 forks source link
ibm lua neovim neovim-colorscheme oxocarbon theme vim

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. ```lua vim.g.oxocarbon_lua_keep_terminal = true ``` or ```vim let g:oxocarbon_lua_keep_terminal = 1 ```
Disabling italics
```lua vim.g.oxocarbon_lua_disable_italic = true ``` or ```vim let g:oxocarbon_lua_disable_italic = 1 ```
Enabling transparency
```lua vim.g.oxocarbon_lua_transparent = true ``` or ```vim let g:oxocarbon_lua_transparent = 1 ```
Alternative telescope style
The original's telescope looks like this: ![Original telescope](../media/telescope-normal.png?raw=true) With this variable set it will look like this: ![Original telescope](../media/telescope-alternative.png?raw=true) ```lua vim.g.oxocarbon_lua_alternative_telescope = true ``` or ```vim let g:oxocarbon_lua_alternative_telescope = 1 ```