switch to plug and neomake

This commit is contained in:
Michele Guerini Rocco 2018-11-10 17:20:21 +01:00
parent cad72cb7aa
commit 872edc9f66
Signed by: rnhmjoj
GPG Key ID: 91BE884FBA4B591A

View File

@ -3,9 +3,10 @@
"" ""
" Vim environment " Vim environment
let cache = $XDG_CACHE_HOME .'/nvim' let data = $XDG_DATA_HOME.'/nvim'
let config = $XDG_CONFIG_HOME.'/nvim' let config = $XDG_CONFIG_HOME.'/nvim'
let plugins = cache.'/plugins' let cache = $XDG_CACHE_HOME .'/nvim'
let plugins = data.'/plugins'
let &directory = cache.',~/,/tmp' let &directory = cache.',~/,/tmp'
let &backupdir = cache.',~/,/tmp' let &backupdir = cache.',~/,/tmp'
@ -23,27 +24,31 @@ set undofile
"" Plugins "" Plugins
"" ""
let &rtp .= ','.plugins.'/Vundle.vim' call plug#begin(plugins)
call vundle#begin(plugins)
Plugin 'VundleVim/Vundle.vim' " UI
Plugin 'kien/ctrlp.vim' Plug 'kien/ctrlp.vim'
Plugin 'itchyny/lightline.vim' Plug 'itchyny/lightline.vim'
Plugin 'townk/vim-autoclose' Plug 'airblade/vim-gitgutter'
Plugin 'tpope/vim-fugitive' Plug 'majutsushi/tagbar', { 'on' : 'TagbarToggle' }
Plugin 'travitch/hasksyn' Plug 'mbbill/undotree', { 'on' : 'UndotreeToggle' }
Plugin 'vim-pandoc/vim-pandoc-syntax' Plug 'milkypostman/vim-togglelist'
Plugin 'LnL7/vim-nix'
Plugin 'kchmck/vim-coffee-script'
Plugin 'ngn/vim-apl'
Plugin 'hdima/python-syntax'
Plugin 'ervandew/supertab'
Plugin 'majutsushi/tagbar'
Plugin 'scrooloose/syntastic'
Plugin 'airblade/vim-gitgutter'
Plugin 'mbbill/undotree'
call vundle#end() " Syntax
Plug 'travitch/hasksyn'
Plug 'LnL7/vim-nix'
Plug 'ngn/vim-apl'
Plug 'vim-pandoc/vim-pandoc-syntax'
Plug 'kchmck/vim-coffee-script'
Plug 'hdima/python-syntax'
" Misc
Plug 'townk/vim-autoclose'
Plug 'tpope/vim-fugitive'
Plug 'ervandew/supertab'
Plug 'neomake/neomake'
call plug#end()
"" ""
@ -126,13 +131,17 @@ noremap O O<ESC>
" Lightline " Lightline
runtime lightline.vim runtime lightline.vim
" Syntastic " Neomake
let g:syntastic_check_on_open = 1 call neomake#configure#automake('nwr', 750)
let g:syntastic_enable_signs = 1 let g:neomake_warning_sign = {
let g:syntastic_auto_jump = 0 \ 'text': 'W→',
let g:syntastic_shell = "/bin/sh" \ 'texthl': 'WarningMsg',
let g:syntastic_python_checkers = ["flake8"] \ }
let g:syntastic_python_python_exe = 'python3' let g:neomake_error_sign = {
\ 'text': 'E→',
\ 'texthl': 'ErrorMsg',
\ }
let g:neomake_highlight_lines = 1
" Tagbar " Tagbar
let g:tagbar_status_func = "TagbarStatusFunc" let g:tagbar_status_func = "TagbarStatusFunc"