yoda.nvim
✨ Features
- Muted green palette for focused, balanced editing
- Dark and light theme variants
- Tree-sitter & LSP semantic highlighting support
- Works with Lazy.nvim, Packer, and Plug
🎨 Color Palette
| Color |
Hex |
Preview |
Usage |
| Accent |
#00dd88 |
 |
Primary accent, function calls |
| String Green |
#b9f6ca |
 |
Strings |
| Number |
#7dd3c0 |
 |
Numbers |
| String |
#e6d7a3 |
 |
Booleans, constants |
| Brown |
#d4a574 |
 |
Functions, methods |
| Interface |
#4fa8d8 |
 |
Types, classes |
| Pink |
#e6a3d0 |
 |
Keywords, control flow |
| Todo Purple |
#a78bfa |
 |
TODO comments |
| Error |
#ff6666 |
 |
Errors, deletions |
| Warning |
#ffee58 |
 |
Warnings, changes |
| Foreground |
#d4d4d4 |
 |
Default text |
| Background |
#050705 |
 |
Editor background |
| Dim |
#5a7a5a |
 |
Comments |
| Subtle |
#7a9a8a |
 |
Punctuation, operators |
| Color |
Hex |
Preview |
Usage |
| Accent |
#3bb07a |
 |
Primary accent, function calls |
| String Green |
#2e7d32 |
 |
Strings |
| Number |
#57aeb6 |
 |
Numbers |
| String |
#b89335 |
 |
Booleans, constants |
| Brown |
#b88347 |
 |
Functions, methods |
| Interface |
#6aa8ef |
 |
Types, classes |
| Pink |
#b0307a |
 |
Keywords, control flow |
| Todo Purple |
#b0a4f5 |
 |
TODO comments |
| Error |
#e38a8a |
 |
Errors, deletions |
| Warning |
#f0b56d |
 |
Warnings, changes |
| Foreground |
#1a1d1f |
 |
Default text |
| Background |
#f3f5f4 |
 |
Editor background |
| Dim |
#56606b |
 |
Comments |
| Subtle |
#6b7280 |
 |
Punctuation, operators |
🚀 Installation
Lazy.nvim
{
"kuri-sun/yoda.nvim",
}
Packer
use { "kuri-sun/yoda.nvim" }
🚀 Usage
vim.cmd("colorscheme yoda")
⚙️ Configuration
require("yoda").setup({
-- Set light or dark variant
theme = "dark", -- "dark" or "light"
-- Style options
italic_comments = true,
transparent_background = false,
bold_keywords = true,
underline_match_paren = true,
-- Override specific colors
colors = {}, -- Override palette colors
-- Override specific highlight groups
highlights = {}, -- Override highlight groups
-- Disable or enable colorscheme extensions
extensions = {
telescope = true,
neo_tree = true,
nvim_tree = true,
cmp = true,
gitsigns = true,
snacks = true,
netrw = true,
todo_comments = true,
indent_blankline = true,
dashboard = true,
which_key = true,
misc = true,
mini = true,
noice = true,
trouble = true,
},
})
Lualine Setup
To use the yoda theme with lualine:
require('lualine').setup {
options = {
theme = 'yoda',
-- ... other lualine options
}
}
🎁 Extras