From 5bafa6a1bd7698b10cb32d7ef46c0fb1972dc0bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ensar=20Saraj=C4=8Di=C4=87?= Date: Thu, 25 Feb 2021 16:03:55 +0100 Subject: [PATCH] Use darcula colorscheme --- 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, 5 insertions(+), 4 deletions(-) diff --git a/symlinks/config/nvim/lua/init/colors.lua b/symlinks/config/nvim/lua/init/colors.lua index 8fbb162..2a20329 100644 --- a/symlinks/config/nvim/lua/init/colors.lua +++ b/symlinks/config/nvim/lua/init/colors.lua @@ -1,3 +1,4 @@ -- vim.o.termguicolors = true -- Does not look good with gruvbox +vim.cmd([[set termguicolors]]) vim.o.background = "dark" -vim.cmd([[colorscheme gruvbox]]) +vim.cmd([[colorscheme darcula]]) diff --git a/symlinks/config/nvim/lua/init/plugins.lua b/symlinks/config/nvim/lua/init/plugins.lua index 1215302..b6d8a2a 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 'flazz/vim-colorschemes' + use 'doums/darcula' -- Tools use 'tpope/vim-dispatch' diff --git a/symlinks/config/nvim/plugin/statusline.vim b/symlinks/config/nvim/plugin/statusline.vim index 325235d..bce66bf 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')), 'fg', 'cterm') - let guibg = synIDattr(synIDtrans(hlID('StatusLine')), 'fg', 'gui') + let ctermbg = synIDattr(synIDtrans(hlID('StatusLine')), 'bg', 'cterm') + let guibg = synIDattr(synIDtrans(hlID('StatusLine')), 'bg', 'gui') let idguifg1 = synIDattr(synIDtrans(hlID('Function')), 'fg', 'gui') let idctermfg1 = synIDattr(synIDtrans(hlID('Function')), 'fg', 'cterm') " Green in gruvbox