/NeoSolarized.nvim

NeoSolarized colorscheme for NeoVim with full transparency

Primary LanguageLuaMIT LicenseMIT

Introduction

NeoSolarized.nvim is based on NeoSolarized. The theme is optimised for full transparency with support of LSP, CMP, GITSIGN, TREE-SITTER and many more plugins.

Installation

Install this theme using plugin managers

Plug

Plug 'Tsuzat/NeoSolarized.nvim'

Packer

use ("Tsuzat/NeoSolarized.nvim")

Install this theme using Packer locally. First Clone this repo

$ git clone https://github.com/Tsuzat/NeoSolarized.nvim

Add the path of cloned repo in packer

use ("path-to-NeoSolarized.nvim")

Features

  • Carefully designed color palette for eye protection.
  • Support of full transparency for awesome experience
  • Highly customizable.
  • Rich support for common file types and plugins.
  • Tree-sitter support.
  • Semantic highlighting support.
  • Italic support

Preview

Default Dark theme Screenshot_3 Default Light theme (This theme will soon be removed. Alternative ) defaukt light Transparent theme with iconic LineNr Screenshot3 Recommended transparent dark theme Screenshot__3

Options

Following options are recommended (refer to 4th preview picture)

vim.g.NeoSolarized_italics = 1 -- 0 or 1
vim.g.NeoSolarized_visibility = 'normal' -- low, normal, high
vim.g.NeoSolarized_diffmode = 'normal' -- low, normal, high
vim.g.NeoSolarized_termtrans = 1 -- 0(default) or 1 -> Transparency
vim.g.NeoSolarized_lineNr = 0 -- 0 or 1 (default) -> To Show backgroung in LineNr

vim.cmd [[
    try
        colorscheme NeoSolarized
    catch /^Vim\%((\a\+)\)\=:E18/
        colorscheme default
        set background=dark
    endtry
        highlight FloatBorder guibg=NONE ctermbg=NONE  " Removes the border of float menu (LSP and Autocompletion uses it)
        highlight link NormalFloat Normal 
        highlight NormalFloat ctermbg=NONE ctermfg=NONE guibg=NONE guifg=NONE 
        highlight Pmenu ctermbg=NONE guibg=NONE 
]]

Credits and Inspiration