From 9d14d088899ef7b973670ab25e91e702e24dc652 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Fri, 31 Mar 2023 02:08:05 +0400 Subject: Обновил тему на более контрастную MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Valentin Popov --- init.vim | 9 +++++++++ lua/plugins.lua | 12 +++++------- 2 files changed, 14 insertions(+), 7 deletions(-) diff --git a/init.vim b/init.vim index 88344de..583530b 100644 --- a/init.vim +++ b/init.vim @@ -8,3 +8,12 @@ augroup end " Automatic file trimming when saving autocmd BufWritePre * :%s/\s\+$//e + +" Подключение темы sonokai +if has('termguicolors') + set termguicolors +endif + +let g:sonokai_style = 'atlantis' +let g:sonokai_better_performance = 1 +colorscheme sonokai \ No newline at end of file diff --git a/lua/plugins.lua b/lua/plugins.lua index 7379ec6..ad088a3 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -4,19 +4,17 @@ return require('packer').startup(function(use) -- Инициализация пакетного менеджера use 'wbthomason/packer.nvim' - -- Тема редактора NightFox - use { - 'EdenEast/nightfox.nvim', - config = function() - vim.cmd('colorscheme carbonfox') - end, - } + -- Тема редактора "sonokai" + use 'sainnhe/sonokai' -- Информационная строка use { 'nvim-lualine/lualine.nvim', config = function() require('lualine').setup { + options = { + theme = 'sonokai', + }, sections = { lualine_a = { 'mode' }, lualine_b = { 'branch', 'diff' }, -- cgit v1.2.3