From: Jannik ZANDER Date: Sat, 15 Aug 2020 08:56:26 +0000 (+0200) Subject: minor X-Git-Url: https://git.zndr.dk/?a=commitdiff_plain;h=de314f1c4f0123377277ad2475e7e35d82a30fc0;p=vimfiles.git minor --- diff --git a/vimrc b/vimrc index 92d76d6..c741714 100644 --- a/vimrc +++ b/vimrc @@ -1,5 +1,7 @@ " Use :help 'option' to see the documentation for the given option. -set nocompatible +if &compatible + set nocompatible +endif filetype plugin indent on syntax on @@ -7,43 +9,42 @@ syntax on packadd minpac if exists('*minpac#init') -call minpac#init() -call minpac#add('k-takata/minpac', {'type': 'opt'}) -call minpac#add('tpope/vim-repeat', {'type': 'opt'}) -call minpac#add('tpope/vim-surround', {'type': 'opt'}) -call minpac#add('tpope/vim-unimpaired', {'type': 'opt'}) -call minpac#add('tpope/vim-fugitive', {'type': 'opt'}) -call minpac#add('tpope/vim-commentary', {'type': 'opt'}) -call minpac#add('garbas/vim-snipmate', {'type': 'opt'}) -call minpac#add('MarcWeber/vim-addon-mw-utils', {'type': 'opt'}) -call minpac#add('tomtom/tlib_vim', {'type': 'opt'}) -call minpac#add('honza/vim-snippets', {'type': 'opt'}) -call minpac#add('vim-airline/vim-airline', {'type': 'opt'}) -call minpac#add('majutsushi/tagbar', {'type': 'opt'}) -call minpac#add('mh21/errormarker.vim', {'type': 'opt'}) -call minpac#add('skywind3000/asyncrun.vim', {'type': 'opt'}) -call minpac#add('haya14busa/incsearch.vim', {'type': 'opt'}) -call minpac#add('w0rp/ale', {'type': 'opt'}) -call minpac#add('vim-pandoc/vim-pandoc', {'type': 'opt'}) -call minpac#add('vim-pandoc/vim-pandoc-syntax', {'type': 'opt'}) -call minpac#add('maralla/completor.vim', {'type': 'opt'}) -call minpac#add('maralla/validator.vim', {'type': 'opt'}) -call minpac#add('justinmk/vim-syntax-extra', {'type': 'opt'}) -call minpac#add('ervandew/supertab', {'type': 'opt'}) -call minpac#add('calleerlandsson/pick.vim', {'type': 'opt'}) -call minpac#add('thanthese/Tortoise-Typing', {'type': 'opt'}) -call minpac#add('igankevich/mesonic', {'type': 'opt'}) -call minpac#add('roxma/nvim-yarp', {'type': 'opt'}) -call minpac#add('Shougo/deoplete.nvim', {'type': 'opt'}) -call minpac#add('roxma/vim-hug-neovim-rpc', {'type': 'opt'}) -call minpac#add('jsfaint/gen_tags.vim', {'type': 'opt'}) -call minpac#add('tyru/open-browser.vim', {'type': 'opt'}) -call minpac#add('plasticboy/vim-markdown', {'type': 'opt'}) -call minpac#add('previm/previm', {'type': 'opt'}) -call minpac#add('Yggdroot/LeaderF', {'type': 'opt'}) -call minpac#add('manasthakur/vim-vinegar', {'type': 'opt'}) -call minpac#add('vifm/vifm.vim', {'type': 'opt'}) - + call minpac#init() + call minpac#add('k-takata/minpac', {'type': 'opt'}) + call minpac#add('tpope/vim-repeat', {'type': 'opt'}) + call minpac#add('tpope/vim-surround', {'type': 'opt'}) + call minpac#add('tpope/vim-unimpaired', {'type': 'opt'}) + call minpac#add('tpope/vim-fugitive', {'type': 'opt'}) + call minpac#add('tpope/vim-commentary', {'type': 'opt'}) + call minpac#add('garbas/vim-snipmate', {'type': 'opt'}) + call minpac#add('MarcWeber/vim-addon-mw-utils', {'type': 'opt'}) + call minpac#add('tomtom/tlib_vim', {'type': 'opt'}) + call minpac#add('honza/vim-snippets', {'type': 'opt'}) + call minpac#add('vim-airline/vim-airline', {'type': 'opt'}) + call minpac#add('majutsushi/tagbar', {'type': 'opt'}) + call minpac#add('mh21/errormarker.vim', {'type': 'opt'}) + call minpac#add('skywind3000/asyncrun.vim', {'type': 'opt'}) + call minpac#add('haya14busa/incsearch.vim', {'type': 'opt'}) + call minpac#add('w0rp/ale', {'type': 'opt'}) + call minpac#add('vim-pandoc/vim-pandoc', {'type': 'opt'}) + call minpac#add('vim-pandoc/vim-pandoc-syntax', {'type': 'opt'}) + call minpac#add('maralla/completor.vim', {'type': 'opt'}) + call minpac#add('maralla/validator.vim', {'type': 'opt'}) + call minpac#add('justinmk/vim-syntax-extra', {'type': 'opt'}) + call minpac#add('ervandew/supertab', {'type': 'opt'}) + call minpac#add('calleerlandsson/pick.vim', {'type': 'opt'}) + call minpac#add('thanthese/Tortoise-Typing', {'type': 'opt'}) + call minpac#add('igankevich/mesonic', {'type': 'opt'}) + call minpac#add('roxma/nvim-yarp', {'type': 'opt'}) + call minpac#add('Shougo/deoplete.nvim', {'type': 'opt'}) + call minpac#add('roxma/vim-hug-neovim-rpc', {'type': 'opt'}) + call minpac#add('jsfaint/gen_tags.vim', {'type': 'opt'}) + call minpac#add('tyru/open-browser.vim', {'type': 'opt'}) + call minpac#add('plasticboy/vim-markdown', {'type': 'opt'}) + call minpac#add('previm/previm', {'type': 'opt'}) + call minpac#add('Yggdroot/LeaderF', {'type': 'opt'}) + call minpac#add('manasthakur/vim-vinegar', {'type': 'opt'}) + call minpac#add('vifm/vifm.vim', {'type': 'opt'}) endif " indentation @@ -297,12 +298,12 @@ packadd! vim-unimpaired """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " Airline -packadd! vim-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}']) +"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}']) """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " ALE @@ -396,7 +397,7 @@ set pyxversion=3 set encoding=utf-8 let g:deoplete#enable_at_startup = 1 -packloadall +"packloadall silent! helptags ALL " local settings