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
Font: FiraCode Nerd Font
Statusline: GalaxyLine
RGB Highlighting: vim-hexokinase
" 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')
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
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
Did this project help you out?
bbenzikry.eth / 0x10c97e3e727cb3ee0bafb4f99f63225525150a35