Skip to content
/ void.nvim Public

tema de nvim basado en los colores de voidlinux.. :>

License

Notifications You must be signed in to change notification settings

BJZR/void.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

πŸŒ‘ void.nvim

A professional dark theme for Neovim inspired by Void Linux

Neovim License Lua

Perceptually uniform colors using HSLuv color space

Features β€’ Installation β€’ Configuration β€’ Showcase β€’ Credits


✨ Features

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

🎨 Color Palette

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

πŸ“¦ Installation

For LazyVim

Create ~/.config/nvim/lua/plugins/void.lua:

return {
  "BJZR/void.nvim",
  -- config..
}

For lazy.nvim (Standard) Predetermine Theme void

return {
  "BJZR/void.nvim",
  lazy = false,
  priority = 1000,
  config = function()
    require("void")
  end,
}

For packer.nvim

use {
  "BJZR/void.nvim",
  config = function()
    require("void")
    vim.cmd("colorscheme void")
  end,
}

Manual Installation

git clone https://github.com/BJZR/void.nvim.git ~/.config/nvim/lua/void

Then add to your init.lua:

require("void")
vim.cmd("colorscheme void")

πŸš€ Quick Start

  1. Install the theme using any method above
  2. Restart Neovim
  3. Verify installation:
    :colorscheme void
    :echo g:colors_name

πŸ”§ Requirements

  • Neovim >= 0.9.0
  • termguicolors enabled
  • Terminal with truecolor support

Make sure you have this in your configuration:

vim.opt.termguicolors = true

🎯 Plugin Support

void.nvim includes hand-crafted support for:

Core Plugins

  • βœ… Treesitter - Advanced syntax highlighting
  • βœ… LSP - Language Server Protocol integration
  • βœ… Diagnostic - Error, warning, info, hint highlighting

UI Enhancements

  • βœ… 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

Git Integration

  • βœ… GitSigns - Git decorations
  • βœ… Neogit - Git interface
  • βœ… DiffView - Diff viewer

Completion & Diagnostics

  • βœ… nvim-cmp - Completion menu
  • βœ… nvim-notify - Notification manager

Markdown & Writing

  • βœ… Markdown - Enhanced markdown support
  • βœ… Render-markdown - Inline rendering

πŸ“Έ Showcase

Dashboard

Clean and minimal start screen with Void green accents

Code Editing

Treesitter-powered syntax highlighting with semantic tokens

Telescope

Beautiful search interface with matching highlights

Git Integration

Clear git status with intuitive color coding

🎨 Customization

Override Specific Highlights

require("void")
vim.cmd("colorscheme void")

-- Override highlights after theme loads
vim.api.nvim_set_hl(0, "Function", { fg = "#custom", bold = true })

Access Color Palette

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

πŸ”¨ Terminal Setup

Recommended Terminals

void.nvim looks best in terminals with truecolor support:

  • Alacritty βœ… (Recommended)
  • Kitty βœ…
  • WezTerm βœ…
  • iTerm2 βœ… (macOS)
  • Windows Terminal βœ…

Verify Truecolor Support

echo $COLORTERM  # Should show: truecolor or 24bit

Enable Truecolor

Most modern terminals support truecolor by default. If not:

# Add to ~/.bashrc or ~/.zshrc
export COLORTERM=truecolor

πŸ› Troubleshooting

Theme not loading

  1. Clear cache:

    rm -rf ~/.local/share/nvim/lazy
    rm -rf ~/.local/state/nvim/lazy
  2. Verify installation:

    :echo g:colors_name
    :Lazy sync
  3. Check for errors:

    :messages
    :checkhealth

Colors look wrong

  1. Enable termguicolors:

    vim.opt.termguicolors = true
  2. Check terminal:

    echo $TERM  # Should be: xterm-256color or similar
  3. Test truecolor:

    curl -s https://gist.githubusercontent.com/lifepillar/09a44b8cf0f9397465614e622979107f/raw/24-bit-color.sh | bash

Plugin highlights missing

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

🀝 Contributing

Contributions are welcome! Here's how you can help:

  1. Report bugs - Open an issue with details
  2. Request features - Suggest improvements
  3. Submit PRs - Fix bugs or add features
  4. Share feedback - Let us know what you think

Development

# 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+=."

πŸ“„ License

MIT License - see LICENSE for details.

πŸ™ Credits

  • 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

πŸ”— Links


Made with πŸ’š for the Void Linux and Neovim communities

⭐ Star us on GitHub if you like void.nvim!

About

tema de nvim basado en los colores de voidlinux.. :>

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors