yazeed1s/oh-lucy.nvim

github github
plugincolorschemetreesitter-colorschemes
star 106
alert-circle 1
users 1
git-branch 9
CREATED

2022-11-03

UPDATED

2 months ago


oh-lucy.nvim

Two TreeSitter supported colorschemes inspired by oh-lucy.
Both colorschemes are availaible for vim and neovim and written in Lua.

✨ Features

  • support the latest Neovim >=5.0 features like TreeSitter and LSP
  • darker background for sidebar
  • color configs for Alacritty.

📌 Note:

Both colors are designed with Go and Rust in mind, and tested against few other languages.
If any of the colors does not syntax-highlight your langauge satisfactorily, please feel free to fork the repo and do changes as needed.
#

⭐️ [oh-lucy-evening]

screenshot_1 screenshot_2 screenshot_3 screenshot_4

⚡️ [oh-lucy]

screenshot_1 screenshot_2 screenshot_3 screenshot_4

✅ Plugin Support

👇 Requirements

  • Neovim >= 0.8.0

📦 Installation

You can Install the theme with any of the following package managers:

vim-plug

Plug 'Yazeed1s/oh-lucy.nvim'

packer

use 'Yazeed1s/oh-lucy.nvim'

🚀 Usage

Enable the colorscheme:

" Vim Script
colorscheme oh-lucy-evening " for oh-lucy-evening
colorscheme oh-lucy " for oh-lucy
-- Lua
vim.cmd[[colorscheme oh-lucy]] -- for oh-lucy
vim.cmd[[colorscheme oh-lucy-evening]] -- for oh-lucy-evening
-- or, for lunarVim
lvim.colorscheme = 'oh-lucy'
lvim.colorscheme = 'oh-lucy-evening'

⚙️ Configuration

Note: set the configurations BEFORE you load the color scheme

Option Default Description
oh_lucy_italic_comments true Make comments italic
oh_lucy_italic_keywords true Make keywords italic
oh_lucy_italic_booleans false Make booleans italic
oh_lucy_italic_functions false Make functions italic
oh_lucy_italic_variables true Make variables italic
oh_lucy_transparent_background false Disable background color
-- Example config in lua

-- oh-lucy
vim.g.oh_lucy_italic_functions = true
vim.g.oh_lucy_italic_comments = false
-- The key is 'oh_lucy_'

-- oh-lucy-evening
vim.g.oh_lucy_evening_italic_functions = true
vim.g.oh_lucy_evening_italic_comments = false
-- The key is 'oh_lucy_evening_'

-- Load the colorscheme
vim.cmd [[colorscheme oh-lucy]]
-- or 
vim.cmd [[colorscheme oh-lucy-evening]]
" Example config in Vim Script
let g:oh_lucy_evening_italic_functions = 1
let g:oh_lucy_italic_comments = 0
" Load the colorscheme
colorscheme oh-lucy
" or 
colorscheme oh-lucy-evening

👇 For terminal use:

Color configs for Alacritty can be found in terminal. If you want to use it, pleas refer to their respective documentation and do changes to your .config/ accordingly

✅ TODO:

🔥 Contributing

If you would like to add support to a plugin or to fix a bug please feel free to send a PR.

💐 Credits