Skip to content

Commit 40dab24

Browse files
committed
Fix solarized theme
There's an incompatibility with Neovim v.0.10 (overcache/NeoSolarized#34) which makes some colors no longer match the solarized theme. Therefore (temporarily) switching to https://github.com/maxmx03/solarized.nvim
1 parent 3cd4f08 commit 40dab24

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

neovim/nvim.symlink/init.vim

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ let g:plantuml_set_makeprg = 0
77
""" plugins
88
""""""
99
call plug#begin()
10-
Plug 'overcache/NeoSolarized'
10+
Plug 'maxmx03/solarized.nvim'
11+
Plug 'morhetz/gruvbox'
1112

1213
Plug 'mileszs/ack.vim' " project-wide search
1314
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } } " fzf executable
@@ -102,10 +103,6 @@ let g:netrw_banner = 0 " remove banner on top
102103

103104
""" colors
104105
set colorcolumn=80,120 " highlight column at 80 and 120 characters
105-
set termguicolors " use true colors
106-
set background=dark " use a dark background
107-
colorscheme NeoSolarized
108-
let g:neosolarized_vertSplitBgTrans = 1 " transparent split bars
109106

110107
""" markdown
111108
au FileType markdown setlocal wrap " wrap lines in markdown files
@@ -169,3 +166,4 @@ set completeopt=menu,menuone,noselect
169166
:lua require('completion')
170167
:lua require('nonels')
171168
:lua require('snippets')
169+
:lua require('color')

neovim/nvim.symlink/lua/color.lua

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
vim.o.background = "dark"
2+
3+
require("solarized").setup({
4+
transparent = { enabled = false },
5+
palette = "solarized",
6+
})
7+
8+
vim.cmd.colorscheme("solarized")

0 commit comments

Comments
 (0)