This aims to be a complete port vim-solarized8 with support for lua plugins, LSP and Treesitter for neovim 0.5.
Also added 8 bit color support.(Can't be a complete port if the theme isn't accessible for all neovim users.) I used this Javascript code to convert the rgb to neared 8 bit color.
git submodule add --name nvim-solarized-lua https://github.com/ishan9299/nvim-solarized-lua
pack/packages/start/solarized
Plug 'ishan9299/nvim-solarized-lua'
vim.g.solarized_italics = 1
vim.g.solarized_visibility = 'normal'
vim.g.solarized_diffmode = 'normal'
-- To enable transparency
if vim.fn.has('gui_running') == 0 then
vim.g.solarized_termtrans = 0
else
vim.g.solarized_termtrans = 1
end
vim.g.solarized_statusline = 'normal'
NOTE :-
normal
and flat
are the same when using the solarized-flat colorscheme.The normal solarized scheme.vim.cmd('colorscheme solarized')
This one has a higher contrast ratio.vim.cmd('colorscheme solarized-high')
This is the flat variant.vim.cmd('colorscheme solarized-flat')
This is the low contrast option.vim.cmd('colorscheme solarized-low')