Проработка способа подключения темы
Signed-off-by: Valentin Popov <valentin@popov.link>
This commit is contained in:
parent
4c1f64d1bd
commit
58537937b3
9
init.vim
9
init.vim
@ -8,12 +8,3 @@ 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
|
@ -14,3 +14,9 @@ opt.tabstop = 4 -- Размер <tab> в пробелах
|
||||
-- Настройка номеров строк
|
||||
opt.number = true -- Отображать номер текущей строки
|
||||
opt.relativenumber = true -- Использовать относительные номера строк
|
||||
|
||||
-- Подключение и настройка темы "sonokai"
|
||||
opt.termguicolors = true
|
||||
vim.g.sonokai_style = 'atlantis'
|
||||
vim.g.sonokai_better_performance = 1
|
||||
vim.cmd('colorscheme sonokai')
|
||||
|
Loading…
x
Reference in New Issue
Block a user