2023-03-30 15:17:25 +04:00
|
|
|
" Connecting the plugin manager
|
2023-03-30 15:55:02 +04:00
|
|
|
lua require('init')
|
2023-03-30 15:17:25 +04:00
|
|
|
|
|
|
|
augroup packer_user_config
|
|
|
|
autocmd!
|
|
|
|
autocmd BufWritePost plugins.lua source <afile> | PackerCompile
|
|
|
|
augroup end
|
|
|
|
|
|
|
|
" Automatic file trimming when saving
|
|
|
|
autocmd BufWritePre * :%s/\s\+$//e
|
2023-03-31 02:08:05 +04:00
|
|
|
|
|
|
|
" Подключение темы sonokai
|
|
|
|
if has('termguicolors')
|
|
|
|
set termguicolors
|
|
|
|
endif
|
|
|
|
|
|
|
|
let g:sonokai_style = 'atlantis'
|
|
|
|
let g:sonokai_better_performance = 1
|
|
|
|
colorscheme sonokai
|