From 30d1dfe1096e74be7a6f2f5d75991e73ffe9d502 Mon Sep 17 00:00:00 2001 From: Jannik ZANDER Date: Sat, 15 Aug 2020 12:14:33 +0200 Subject: [PATCH] minor --- vimrc | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/vimrc b/vimrc index 6b0a61b..cc757aa 100644 --- a/vimrc +++ b/vimrc @@ -291,6 +291,11 @@ if has('autocmd') augroup end endif +""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +" stock vim +packadd! matchit +packadd! vim-syntax-extra + """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " Tpope packadd! vim-repeat @@ -299,14 +304,20 @@ packadd! vim-unimpaired packadd! vim-fugitive packadd! vim-commentary +""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +" supertab +packadd! supertab + """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " Airline packadd! vim-airline -"let g:airline#extensions#tabline#enabled = 1 -"let g:airline#extensions#tabline#formatter = 'unique_tail_improved' -"let g:airline#extensions#ale#enabled = 1 -"let g:airline_section_error = airline#section#create_right(['%{g:asyncrun_status}']) +if exists('*airline') + let g:airline#extensions#tabline#enabled = 1 + let g:airline#extensions#tabline#formatter = 'unique_tail_improved' + let g:airline#extensions#ale#enabled = 1 + let g:airline_section_error = airline#section#create_right(['%{g:asyncrun_status}']) +endif """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " ALE @@ -320,7 +331,7 @@ let g:ale_enabled = 1 """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " Gtags-Cscope if executable('global') -" packadd! gen_tags.vim + "packadd! gen_tags.vim let GtagsCscope_Auto_Map = 1 let GtagsCscope_Ignore_Case = 1 let GtagsCscope_Absolute_Path = 1 @@ -355,15 +366,6 @@ command! -bang -nargs=* -complete=file Grep AsyncRun -program=grep @ "packadd! vim-snipmate "packadd! vim-snippets -""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" -" stock vim -packadd! matchit -packadd! vim-syntax-extra - -""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" -" supertab -packadd! supertab - """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " Jedi (python) "packadd! jedi-vim -- 2.43.0