Skip to content

Poimandres colorscheme for Neovim written in Lua

Notifications You must be signed in to change notification settings

olivercederborg/poimandres.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

92 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

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
}
Install with packer:

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
}
Install with vim-plug:

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