Tidy vim plugins

This commit is contained in:
Andrejus
2020-11-08 21:23:07 +00:00
parent ae81a6be21
commit 75b5a04b97
10 changed files with 357 additions and 219 deletions

View File

@@ -2,28 +2,21 @@
set background=dark
colorscheme base16-seti
" Coc.nvim
" Close preview window when completion is done.
autocmd! CompleteDone * if pumvisible() == 0 | pclose | endif
" Disable deprecated python2 provider
let g:loaded_python_provider = 0
" Call method on window enter
augroup WindowManagement
autocmd!
autocmd WinEnter * call Handle_Win_Enter()
augroup END
" " Call method on window enter
" augroup WindowManagement
" autocmd!
" autocmd WinEnter * call Handle_Win_Enter()
" augroup END
" Change highlight group of preview window when open
function! Handle_Win_Enter()
if &previewwindow
setlocal winhighlight=Normal:MarkdownError
endif
endfunction
" Reload icons after init source
if exists('g:loaded_webdevicons')
call webdevicons#refresh()
endif
" " Change highlight group of preview window when open
" function! Handle_Win_Enter()
" if &previewwindow
" setlocal winhighlight=Normal:MarkdownError
" endif
" endfunction