2021-06-01 15:59:39 -04:00
2021-06-01 12:49:02 -04:00
2021-06-01 15:59:39 -04:00
2021-06-01 12:38:31 -04:00
2021-06-01 14:09:27 -04:00

shaunsingh/solarized.nvim

based off of the Solarized Light Theme for Vim

Screen Shot 2021-06-01 at 2 08 52 PM

Features

solarized.nvim is meant to be a modern colorscheme written in lua for NeoVim that supports a lot of the new features added to NeoVim like built-in LSP and TreeSitter

Requirements

  • Neovim >= 0.5.0

Installation

Install via your favourite package manager:

" If you are using Vim-Plug
Plug 'shaunsingh/solarized.nvim'
-- If you are using Packer
use 'shaunsingh/solarized.nvim'

Usage

Enable the colorscheme:

"Vim-Script:
colorscheme solarized
--Lua:
require('solarized').set()

To enable the solarized theme for Lualine, simply specify it in your lualine settings:

require('lualine').setup {
  options = {
    -- ... your lualine config
    theme = 'solarized'
    -- ... your lualine config
  }
}

⚙️ Configuration

Option Default Description
solarized_italic_comments false Make comments italic
solarized_italic_keywords false Make keywords italic
solarized_italic_functions false Make functions italic
solarized_italic_variables false Make variables and identifiers italic
solarized_contrast true Make sidebars and popup menus like nvim-tree and telescope have a different background
solarized_borders false Enable the border between verticaly split windows visable
solarized_disable_background false Disable the setting of background color so that NeoVim can use your terminal background
-- Example config in lua
vim.g.solarized_italic_comments = true
vim.g.solarized_italic_keywords = true
vim.g.solarized_italic_functions = true
vim.g.solarized_italic_variables = false
vim.g.solarized_contrast = true
vim.g.solarized_borders = false
vim.g.solarized_disable_background = false

-- Load the colorscheme
require('solarized').set()
" Example config in Vim-Script
let g:solarized_italic_comments = true
let g:solarized_italic_keywords = true
let g:solarized_italic_functions = true
let g:solarized_italic_variables = false
let g:solarized_contrast = true
let g:solarized_borders = false
let g:solarized_disable_background = false

-- Load the colorsheme
colorscheme solarized
Description
No description provided
Readme 93 KiB
Languages
Lua 97.6%
Vim Script 2.4%