Neofusion theme compatible with treesitter inspired by ellisonleao/gruvbox.nvim
👉 Showcase 👈
Neovim 0.8.0+
{ "diegoulloao/neofusion.nvim", priority = 1000 , config = true, opts = ... }
use { "diegoulloao/neofusion.nvim" }
Plug 'diegoulloao/neofusion.nvim'
init.vim
set background=dark
colorscheme neofusion
init.lua
vim.o.background = "dark"
vim.cmd([[ colorscheme neofusion ]])
All settings are:
-- Default options:
require("neofusion").setup({
terminal_colors = true, -- add neovim terminal colors
undercurl = true,
underline = true,
bold = true,
italic = {
strings = true,
emphasis = true,
comments = true,
operators = false,
folds = true,
},
strikethrough = true,
invert_selection = false,
invert_signs = false,
invert_tabline = false,
invert_intend_guides = false,
inverse = true, -- invert background for search, diffs, statuslines and errors
palette_overrides = {},
overrides = {},
dim_inactive = false,
transparent_mode = false,
})
vim.cmd([[ colorscheme neofusion ]])
Important
Make sure to call setup()
before the colorscheme command
You can apply the built-in lualine theme like so:
require("lualine").setup({
options = {
theme = require("neofusion.lualine"),
-- rest,
}
})
You can customize the palette colors like:
require("neofusion").setup({
palette_overrides = {
bright_green = "#ec30ac",
-- rest,
}
})
vim.cmd([[ colorscheme neofusion ]])
For more flexibility, you can override a specific highlight group:
require("neofusion").setup({
overrides = {
SignColumn = { bg = "#ec30ac" },
-- rest,
}
})
vim.cmd([[ colorscheme neofusion ]])
It also works with treesitter groups and lsp semantic highlight tokens:
require("neofusion").setup({
overrides = {
["@lsp.type.method"] = { bg = "#ec30ac" },
["@comment.lua"] = { bg = "#000000" },
-- rest,
}
})
vim.cmd([[ colorscheme neofusion ]])
For more details check here
Get the nice looking from the captures by following the wiki tutorial
iTerm2 theme version. Check it out!
Alacritty theme version. Check it out!
Kitty theme version. Check it out!
WezTerm theme version. Check it out!
Windows Terminal theme version. Check it out!
Bat theme version Check it out!
FZF theme version Check it out!
K9s theme version. Check it out!
Spotify Player (Terminal) theme version Check it out!
Posting theme version. Check it out!
VS Code theme version Check it out!
Beautiful wallpapers that match your setup. Check available resolutions
Check out our awesome sponsors!