Home

Awesome

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

<img width="695" alt="snazzybuddy_full" src="https://user-images.githubusercontent.com/1993348/113155528-c7599b00-9241-11eb-9cae-dc71b3e090e4.png">

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

Use with indent-blankline

-- 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

Donations

<div align="center"> Did this project help you out? <p> <a href="https://etherscan.io/address/0x10c97e3e727cb3ee0bafb4f99f63225525150a35">bbenzikry.eth / 0x10c97e3e727cb3ee0bafb4f99f63225525150a35</a> </p> <img src="https://user-images.githubusercontent.com/1993348/221440410-bec29828-dbf8-4908-aa18-dc41e70592bb.png" width="200" /> </div>