Skip to content

Truecolor solarized theme for neovim in Lua using colorbuddy

License

Notifications You must be signed in to change notification settings

craftzdog/neosolarized.nvim

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 

Repository files navigation

neosolarized.nvim

A truecolor, solarized dark colorscheme using tjdevries/colorbuddy.vim for neovim.

Based on NeoSolarized.

Why?

I've used a bunch of solarized themes. The best I have found is NeoSolarized. Despite it being fantastic, like most themes, I wanted to tweak it here and there and really wanted a lua solution for this in the style of the latest and greatest neovim plugins that allow customizations via a setup function.

Limitations

  • dark only
  • termguicolors only
  • neovim only

Installation

Make sure you have colorbuddy installed.

After installed colorbuddy and neosolarized.nvim with your favorite package manager, from your init.vim:

lua << EOF
  require('neosolarized').setup({
    comment_italics = true,
  })
EOF

Example above is with the default settings.

This will change the foreground color of the TODO highlight.

lua << EOF
  n = require('neosolarized').setup({
    comment_italics = true,
  })
  n.Group.new('TODO', n.colors.blue)
EOF

The Group above is from colorbuddy. The solarized colors are defined in n.colors and returned so you do not need to define them again.

Features

  • Easy customization without messing with nvim highlights
  • LSP diagnostic colors (no need for lsp-colors, for example)

Plugins supported

  • nvim-cmp
  • lsp-saga
  • telescope
  • vim-gitgutter
  • neomake
  • seblj/nvim-tabline
  • kevinwhang91/nvim-bqf
  • Primeagen/harpoon
  • lewis6991/gitsigns.nvim
  • phaazon/hop.nvim

TODO

  • pum/lsp-cmp style improvements (A dark background option would be nice)
  • treesitter highlights have not been defined. I do use treesitter for highlighting but the existing groups have worked well enough for me up to this point.
  • port the remaining features from neosolarized if they are requested by others
  • non-truecolors version for console use

About

Truecolor solarized theme for neovim in Lua using colorbuddy

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Lua 98.9%
  • Vim Script 1.1%