Giter Club home page Giter Club logo

oh-lucy.nvim's Introduction

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.