From 9d14d088899ef7b973670ab25e91e702e24dc652 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Fri, 31 Mar 2023 02:08:05 +0400 Subject: =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=B8=D0=BB=20=D1=82?= =?UTF-8?q?=D0=B5=D0=BC=D1=83=20=D0=BD=D0=B0=20=D0=B1=D0=BE=D0=BB=D0=B5?= =?UTF-8?q?=D0=B5=20=D0=BA=D0=BE=D0=BD=D1=82=D1=80=D0=B0=D1=81=D1=82=D0=BD?= =?UTF-8?q?=D1=83=D1=8E?= 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