watkit / snazzybuddy.nvim

Snazzy color scheme for Neovim using colorbuddy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

snazzybuddy.nvim

Snazzy dark and light theme for Neovim using tjdevries/colorbuddy.vim

Based on hyper-snazzy by sindresorhus, with inspiration from snazzy light by lolio and vim-snazzy by connorholyday

snazzybuddy_full

Font: FiraCode Nerd Font

Statusline: GalaxyLine

RGB Highlighting: vim-hexokinase

Installation

" With Vim-Plug
Plug 'tjdevries/colorbuddy.nvim'
Plug 'bbenzikry/snazzybuddy.nvim'

" Enable the color scheme
colorscheme snazzybuddy
-- With packer
use 'tjdevries/colorbuddy.nvim'
use 'bbenzikry/snazzybuddy.nvim'
--  in your lua config
require('colorbuddy').colorscheme('snazzybuddy')

Support for web-devicons

Snazzybuddy has built in support for web icons provided in kyazdani42/nvim-web-devicons, commonly used with nvim-tree

To enable Snazzy colors for icons:

let g:snazzybuddy_icons = v:true

OR

vim.g.snazzybuddy_icons = true
-- Add SnazzyIndent1 - SnazzyIndent7
local indent_colors = {}
for i = 1, 7 do
    table.insert(indent_colors, 'SnazzyIndent' .. i)
end

vim.g.indent_blankline_char_highlight_list = indent_colors

Switching between theme versions

function ThemeToggle()
    if vim.g.background == 'dark' then
        vim.g.background = 'light'
    else
        vim.g.background = 'dark'
    end
    require('snazzybuddy').reload()
end

--- ... map this function to any keybinding

About

Snazzy color scheme for Neovim using colorbuddy

License:MIT License


Languages

Language:Lua 99.7%Language:Vim Script 0.3%