Skip to content

Commit

Permalink
Fix solarized theme
Browse files Browse the repository at this point in the history
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
  • Loading branch information
klappradla committed Sep 10, 2024
1 parent 3cd4f08 commit 40dab24
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
8 changes: 3 additions & 5 deletions neovim/nvim.symlink/init.vim
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ let g:plantuml_set_makeprg = 0
""" plugins
""""""
call plug#begin()
Plug 'overcache/NeoSolarized'
Plug 'maxmx03/solarized.nvim'
Plug 'morhetz/gruvbox'

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

""" colors
set colorcolumn=80,120 " highlight column at 80 and 120 characters
set termguicolors " use true colors
set background=dark " use a dark background
colorscheme NeoSolarized
let g:neosolarized_vertSplitBgTrans = 1 " transparent split bars

""" markdown
au FileType markdown setlocal wrap " wrap lines in markdown files
Expand Down Expand Up @@ -169,3 +166,4 @@ set completeopt=menu,menuone,noselect
:lua require('completion')
:lua require('nonels')
:lua require('snippets')
:lua require('color')
8 changes: 8 additions & 0 deletions neovim/nvim.symlink/lua/color.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
vim.o.background = "dark"

require("solarized").setup({
transparent = { enabled = false },
palette = "solarized",
})

vim.cmd.colorscheme("solarized")

0 comments on commit 40dab24

Please sign in to comment.