aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2023-03-31 01:08:05 +0300
committerValentin Popov <valentin@popov.link>2023-03-31 01:08:05 +0300
commit9d14d088899ef7b973670ab25e91e702e24dc652 (patch)
tree1299d1eef07786ddd3b9c53f25373da0452fb3af
parent465dabc8b0d87082cbb6bf1d52e6ef87d4cc0836 (diff)
downloadnvim-config-9d14d088899ef7b973670ab25e91e702e24dc652.tar.xz
nvim-config-9d14d088899ef7b973670ab25e91e702e24dc652.zip
Обновил тему на более контрастную
Signed-off-by: Valentin Popov <valentin@popov.link>
-rw-r--r--init.vim9
-rw-r--r--lua/plugins.lua12
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' },