olivercederborg / poimandres.nvim

Poimandres colorscheme for Neovim written in Lua
400 stars 31 forks source link
colorscheme extra lua neovim neovim-colorscheme nvim nvim-lua packer pmndrs poimandres theme treesitter vim wezterm

poimandres.nvim

Made with Lua

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

More screenshots ### Lua ![Poimandres Lua](https://user-images.githubusercontent.com/47901349/182434460-3702a751-7cc1-43c6-aa9e-05843ad5489c.png) ### TypeScript ![Poimandres TypeScript](https://user-images.githubusercontent.com/47901349/182434594-0e8b3408-92ec-4056-8907-9a28a94fa08a.png) ### Golang ![Poimandres Golang](https://user-images.githubusercontent.com/47901349/182434263-91489ea7-8e6f-4c2a-b738-6d3f293cd357.png)

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
}
Install with packer: [packer.nvim](https://github.com/wbthomason/packer.nvim) ```lua -- 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 } ```
Install with vim-plug: [vim-plug](https://github.com/junegunn/vim-plug) ```vim " 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