olivercederborg/poimandres.nvim

github github
colorschemetreesitter-colorschemes
stars 300
issues 6
subscribers 1
forks 26
CREATED

2022-07-16

UPDATED

8 months ago


Neovim theme based on the poimandres vscode theme, written in Lua with treesitter support.

All variants of the theme will be available for use.

Poimandres Golang

Lua

Poimandres Lua

TypeScript

Poimandres TypeScript

Golang

Poimandres Golang

Plugin Support

More plugins will be supported as I personally need it, or when it is requested.

📦 Installation

IMPORTANT! The setup function has to be invoked before the colorscheme is set!

Install with lazy.nvim:

-- Lua

{ 
  'olivercederborg/poimandres.nvim',
  lazy = false,
  priority = 1000,
  config = function()
    require('poimandres').setup {
      -- leave this setup function empty for default config
      -- or refer to the configuration section
      -- for configuration options
    }
  end,

  -- optionally set the colorscheme within lazy config
  init = function()
    vim.cmd("colorscheme poimandres")
  end
}

packer.nvim

-- Lua

use { 
  'olivercederborg/poimandres.nvim',
  config = function()
    require('poimandres').setup {
      -- leave this setup function empty for default config
      -- or refer to the configuration section
      -- for configuration options
    }
  end
}

vim-plug

" Vim Script

Plug 'olivercederborg/poimandres.nvim'

lua << EOF
  require('poimandres').setup {
    " leave this setup function empty for default config
    " or refer to the configuration section
    " for configuration options
  }
EOF

🚀 Usage

Enable the colorscheme:

IMPORTANT! The setup function has to be invoked before the colorscheme is set!

-- Lua

vim.cmd('colorscheme poimandres')
" Vim Script

colorscheme poimandres

⚙️ Configuration:

Setup function options:

require('poimandres').setup {
  bold_vert_split = false, -- use bold vertical separators
  dim_nc_background = false, -- dim 'non-current' window backgrounds
  disable_background = false, -- disable background
  disable_float_background = false, -- disable background for floats
  disable_italics = false, -- disable italics
}

To enable Poimandres for Lualine, just set the theme in your Lualine configuration:

require('lualine').setup {
  options = {
    -- ... your lualine config
    theme = 'poimandres'
    -- ... your lualine config
  }
}

Extra

There's extra configuration files for the following tools:

Contributions

Feel free to help improving the color scheme by opening issues and PRs with features, fixes or changes.

🙌 Related

Hyper theme

hyper i hyper-pmndrs