From 87798c9091592f12151aa42b4a673e99ff3539fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ensar=20Saraj=C4=8Di=C4=87?= Date: Thu, 25 Feb 2021 16:18:08 +0100 Subject: [PATCH] Revert "Use darcula colorscheme" This reverts commit 5bafa6a1bd7698b10cb32d7ef46c0fb1972dc0bb. --- symlinks/config/nvim/lua/init/colors.lua | 3 +-- symlinks/config/nvim/lua/init/plugins.lua | 2 +- symlinks/config/nvim/plugin/statusline.vim | 4 ++-- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/symlinks/config/nvim/lua/init/colors.lua b/symlinks/config/nvim/lua/init/colors.lua index 2a20329..8fbb162 100644 --- a/symlinks/config/nvim/lua/init/colors.lua +++ b/symlinks/config/nvim/lua/init/colors.lua @@ -1,4 +1,3 @@ -- vim.o.termguicolors = true -- Does not look good with gruvbox -vim.cmd([[set termguicolors]]) vim.o.background = "dark" -vim.cmd([[colorscheme darcula]]) +vim.cmd([[colorscheme gruvbox]]) diff --git a/symlinks/config/nvim/lua/init/plugins.lua b/symlinks/config/nvim/lua/init/plugins.lua index b6d8a2a..1215302 100644 --- a/symlinks/config/nvim/lua/init/plugins.lua +++ b/symlinks/config/nvim/lua/init/plugins.lua @@ -20,7 +20,7 @@ return require('packer').startup { use 'mhinz/vim-grepper' use 'direnv/direnv.vim' use 'tpope/vim-speeddating' - use 'doums/darcula' + use 'flazz/vim-colorschemes' -- Tools use 'tpope/vim-dispatch' diff --git a/symlinks/config/nvim/plugin/statusline.vim b/symlinks/config/nvim/plugin/statusline.vim index bce66bf..325235d 100644 --- a/symlinks/config/nvim/plugin/statusline.vim +++ b/symlinks/config/nvim/plugin/statusline.vim @@ -3,8 +3,8 @@ " ----------------------------------------------------------------------------- function s:UpdateColors() - let ctermbg = synIDattr(synIDtrans(hlID('StatusLine')), 'bg', 'cterm') - let guibg = synIDattr(synIDtrans(hlID('StatusLine')), 'bg', 'gui') + let ctermbg = synIDattr(synIDtrans(hlID('StatusLine')), 'fg', 'cterm') + let guibg = synIDattr(synIDtrans(hlID('StatusLine')), 'fg', 'gui') let idguifg1 = synIDattr(synIDtrans(hlID('Function')), 'fg', 'gui') let idctermfg1 = synIDattr(synIDtrans(hlID('Function')), 'fg', 'cterm') " Green in gruvbox