A simple Retro theme.
Backpack.nvim is a simple Neovim high-contrast colour scheme heavily inspired by gruvbox, and the Iterm2 color theme Neutron
Typeface from screenshots below is EnvyCodeR Nerd Font Mono
Dein
Add the following to your .vimrc, and run call dein#install():
call dein#add('Mitch1000/backpack.nvim')
Packer
use {'mitch1000/backpack.nvim' }
Lazy
{
'mitch1000/backpack.nvim',
config = function ()
require('backpack').setup()
end
},
Then add colorscheme backpack to your vimrc file.
OR
vim.g.my_color_scheme = 'backpack'
vim.cmd('colorscheme ' .. vim.g.my_color_scheme)to your init.lua file.
- Extensive support for
TreeSittersyntax highlighting, and many popular plugins - Compilation to lua byte code for super fast startup times
NOTE: If you are using iTerm2, you may want to use the sRGB color space for more accurate color reproduction. There is an option to disable P3 colors in the Advanced Settings tab.
config = function ()
require('backpack').setup({
undercurl = false,
commentStyle = { italic = true },
compile = false,
functionStyle = {},
keywordStyle = { bold = true },
statementStyle = { bold = true },
returnStyle = { italic = false, bold = true },
typeStyle = {},
transparent = false,
dimInactive = false,
terminalColors = true,
colors = { theme = { dark = {}, light = {} }, palette = {} },
contrast = "medium", -- medium, high, extreme
overrides = function()
return {}
end,
})
end
To use 256 colors use vim.cmd([[ set notermguicolors ]]) after the color scheme has loaded.
Thanks to Kanagawa.nvim. Most of the code in this repo has been taken from there and repurposed.
Feedback is appreciated!