A professional dark theme for Neovim inspired by Void Linux
Perceptually uniform colors using HSLuv color space
Features β’ Installation β’ Configuration β’ Showcase β’ Credits
- π¨ Void Linux Inspired - Beautiful green accent colors matching Void's branding
- π HSLuv Color Space - Perceptually uniform color blending for consistent aesthetics
- π³ Full Treesitter Support - Enhanced syntax highlighting for 100+ languages
- π‘ LSP Integration - Semantic tokens, diagnostics, and references
- π Plugin Ecosystem - First-class support for popular plugins
- β‘ Performance - Minimal overhead, fast loading
- π― LazyVim Ready - Drop-in support for LazyVim distribution
-- Void Linux Greens
void_green = "#478061" -- Primary Void green
void_green_light = "#5a9d7a" -- Lighter shade
-- Background & Foreground
bg_primary = "#0d1117" -- Deep dark background
fg_primary = "#c9d1d9" -- Light foreground
-- Semantic Colors
blue = "#78a9ff" -- Info, types
red = "#ff6b6b" -- Errors
orange = "#ffa94d" -- Warnings
pink = "#ff7eb6" -- Functions
green = "#42be65" -- Strings, success
purple = "#be95ff" -- Keywords
cyan = "#82cfff" -- NumbersCreate ~/.config/nvim/lua/plugins/void.lua:
return {
"BJZR/void.nvim",
-- config..
}return {
"BJZR/void.nvim",
lazy = false,
priority = 1000,
config = function()
require("void")
end,
}use {
"BJZR/void.nvim",
config = function()
require("void")
vim.cmd("colorscheme void")
end,
}git clone https://github.com/BJZR/void.nvim.git ~/.config/nvim/lua/voidThen add to your init.lua:
require("void")
vim.cmd("colorscheme void")- Install the theme using any method above
- Restart Neovim
- Verify installation:
:colorscheme void :echo g:colors_name
- Neovim >= 0.9.0
- termguicolors enabled
- Terminal with truecolor support
Make sure you have this in your configuration:
vim.opt.termguicolors = truevoid.nvim includes hand-crafted support for:
- β Treesitter - Advanced syntax highlighting
- β LSP - Language Server Protocol integration
- β Diagnostic - Error, warning, info, hint highlighting
- β Telescope - Fuzzy finder
- β Neo-tree / NvimTree - File explorers
- β Which-key - Keybinding helper
- β Alpha / Dashboard - Start screens
- β Lualine - Status line
- β Bufferline - Buffer tabs
- β Indent Blankline - Indentation guides
- β GitSigns - Git decorations
- β Neogit - Git interface
- β DiffView - Diff viewer
- β nvim-cmp - Completion menu
- β nvim-notify - Notification manager
- β Markdown - Enhanced markdown support
- β Render-markdown - Inline rendering
Clean and minimal start screen with Void green accents
Treesitter-powered syntax highlighting with semantic tokens
Beautiful search interface with matching highlights
Clear git status with intuitive color coding
require("void")
vim.cmd("colorscheme void")
-- Override highlights after theme loads
vim.api.nvim_set_hl(0, "Function", { fg = "#custom", bold = true })local void = require("void").void
-- Use colors in your configuration
vim.api.nvim_set_hl(0, "MyCustomGroup", {
fg = void.base07, -- Void green
bg = void.base00 -- Dark background
})void.nvim looks best in terminals with truecolor support:
- Alacritty β (Recommended)
- Kitty β
- WezTerm β
- iTerm2 β (macOS)
- Windows Terminal β
echo $COLORTERM # Should show: truecolor or 24bitMost modern terminals support truecolor by default. If not:
# Add to ~/.bashrc or ~/.zshrc
export COLORTERM=truecolor-
Clear cache:
rm -rf ~/.local/share/nvim/lazy rm -rf ~/.local/state/nvim/lazy
-
Verify installation:
:echo g:colors_name :Lazy sync
-
Check for errors:
:messages :checkhealth
-
Enable termguicolors:
vim.opt.termguicolors = true
-
Check terminal:
echo $TERM # Should be: xterm-256color or similar
-
Test truecolor:
curl -s https://gist.githubusercontent.com/lifepillar/09a44b8cf0f9397465614e622979107f/raw/24-bit-color.sh | bash
Make sure plugins are loaded after the colorscheme:
{
"BJZR/void.nvim",
lazy = false,
priority = 1000, -- Load before other plugins
config = function()
require("void")
vim.cmd("colorscheme void")
end,
},Contributions are welcome! Here's how you can help:
- Report bugs - Open an issue with details
- Request features - Suggest improvements
- Submit PRs - Fix bugs or add features
- Share feedback - Let us know what you think
# Clone the repository
git clone https://github.com/BJZR/void.nvim.git
cd void.nvim
# Make changes to lua/void/
# Test locally
nvim --cmd "set rtp+=."MIT License - see LICENSE for details.
- Inspired by Void Linux - The distribution that started it all
- Color blending based on HSLuv - Perceptually uniform color space
- Structure inspired by oxocarbon.nvim - Excellent Fennel-based theme
- Built for LazyVim and Neovim
- GitHub: BJZR/void.nvim
- Issues: Report a bug
- Discussions: Join the conversation
Made with π for the Void Linux and Neovim communities
β Star us on GitHub if you like void.nvim!