Skip to content

Mitch1000/backpack.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

89 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Backpack - A Neovim Color Scheme

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

Screenshot 2025-07-20 at 11 36 29 AM

Palette

Palette

Dark mode

Screenshot 2025-07-28 at 8 16 19 PM

Light mode

Screenshot 2025-07-28 at 9 17 58 PM

Installation Method

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.

Features

  • Extensive support for TreeSitter syntax highlighting, and many popular plugins
  • Compilation to lua byte code for super fast startup times

Options

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

Change Contrast!

Screenshot 2025-07-20 at 11 36 29 AM

256 Color Support!

To use 256 colors use vim.cmd([[ set notermguicolors ]]) after the color scheme has loaded.

Thanks!!

Thanks to Kanagawa.nvim. Most of the code in this repo has been taken from there and repurposed.

Feedback is appreciated!

About

A Simple Colorscheme for Neovim

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages