Use darcula colorscheme

pull/1/head
Ensar Sarajčić 2021-02-25 16:03:55 +01:00
parent d029ee6e76
commit 5bafa6a1bd
3 changed files with 5 additions and 4 deletions

View File

@ -1,3 +1,4 @@
-- vim.o.termguicolors = true -- Does not look good with gruvbox -- vim.o.termguicolors = true -- Does not look good with gruvbox
vim.cmd([[set termguicolors]])
vim.o.background = "dark" vim.o.background = "dark"
vim.cmd([[colorscheme gruvbox]]) vim.cmd([[colorscheme darcula]])

View File

@ -20,7 +20,7 @@ return require('packer').startup {
use 'mhinz/vim-grepper' use 'mhinz/vim-grepper'
use 'direnv/direnv.vim' use 'direnv/direnv.vim'
use 'tpope/vim-speeddating' use 'tpope/vim-speeddating'
use 'flazz/vim-colorschemes' use 'doums/darcula'
-- Tools -- Tools
use 'tpope/vim-dispatch' use 'tpope/vim-dispatch'

View File

@ -3,8 +3,8 @@
" ----------------------------------------------------------------------------- " -----------------------------------------------------------------------------
function s:UpdateColors() function s:UpdateColors()
let ctermbg = synIDattr(synIDtrans(hlID('StatusLine')), 'fg', 'cterm') let ctermbg = synIDattr(synIDtrans(hlID('StatusLine')), 'bg', 'cterm')
let guibg = synIDattr(synIDtrans(hlID('StatusLine')), 'fg', 'gui') let guibg = synIDattr(synIDtrans(hlID('StatusLine')), 'bg', 'gui')
let idguifg1 = synIDattr(synIDtrans(hlID('Function')), 'fg', 'gui') let idguifg1 = synIDattr(synIDtrans(hlID('Function')), 'fg', 'gui')
let idctermfg1 = synIDattr(synIDtrans(hlID('Function')), 'fg', 'cterm') let idctermfg1 = synIDattr(synIDtrans(hlID('Function')), 'fg', 'cterm')
" Green in gruvbox " Green in gruvbox