From: Jannik ZANDER Date: Sat, 15 Aug 2020 10:14:33 +0000 (+0200) Subject: minor X-Git-Url: https://git.zndr.dk/?a=commitdiff_plain;h=30d1dfe1096e74be7a6f2f5d75991e73ffe9d502;p=vimfiles.git minor --- 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