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' },