From 58132b6f46f617750b74c618a026aded2daa63c0 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Wed, 18 Oct 2017 04:10:18 -0400 Subject: switch from syntastic to ale --- .gitmodules | 9 +++------ Makefile | 4 ---- vim/pack/local/start/ale | 1 + vim/pack/local/start/syntastic | 1 - vim/pack/local/start/vimproc | 1 - vimrc | 21 ++++++++++++--------- 6 files changed, 16 insertions(+), 21 deletions(-) create mode 160000 vim/pack/local/start/ale delete mode 160000 vim/pack/local/start/syntastic delete mode 160000 vim/pack/local/start/vimproc diff --git a/.gitmodules b/.gitmodules index a2cdac0..f35a56b 100644 --- a/.gitmodules +++ b/.gitmodules @@ -40,9 +40,6 @@ [submodule "vim/bundle/startify"] path = vim/pack/local/start/startify url = git://github.com/mhinz/vim-startify -[submodule "vim/bundle/vimproc"] - path = vim/pack/local/start/vimproc - url = git://github.com/Shougo/vimproc.vim [submodule "vim/bundle/bufferline"] path = vim/pack/local/start/bufferline url = git://github.com/bling/vim-bufferline @@ -67,9 +64,6 @@ [submodule "vim/bundle/puppet"] path = vim/pack/local/start/puppet url = git://github.com/rodjek/vim-puppet -[submodule "vim/bundle/syntastic"] - path = vim/pack/local/start/syntastic - url = git://github.com/scrooloose/syntastic [submodule "vim/bundle/go"] path = vim/pack/local/start/go url = git://github.com/fatih/vim-go @@ -97,3 +91,6 @@ [submodule "vim/pack/local/start/denite"] path = vim/pack/local/start/denite url = git://github.com/Shougo/denite.nvim +[submodule "vim/pack/local/start/ale"] + path = vim/pack/local/start/ale + url = git://github.com/w0rp/ale diff --git a/Makefile b/Makefile index 36030c2..b0f73aa 100644 --- a/Makefile +++ b/Makefile @@ -64,7 +64,6 @@ INSTALLED = $(patsubst %,$(INTO)/.%,$(INSTALL)) BUILD = bin/local/timettyrec \ $(addsuffix .dat,$(filter-out %.dat,$(wildcard fortune/*))) \ - vim/pack/local/start/vimproc/autoload/vimproc_linux64.so \ vim/spell/en.utf-8.add.spl \ less @@ -109,9 +108,6 @@ fortune/%.dat : fortune/% @echo "Compiling $@" @strfile -s $(basename $@) -vim/pack/local/start/vimproc/autoload/vimproc_linux64.so : - cd vim/pack/local/start/vimproc && make - less : lesskey lesskey -o less lesskey diff --git a/vim/pack/local/start/ale b/vim/pack/local/start/ale new file mode 160000 index 0000000..81d9930 --- /dev/null +++ b/vim/pack/local/start/ale @@ -0,0 +1 @@ +Subproject commit 81d993086eae20cd8d2871b62e8889e54cfa9187 diff --git a/vim/pack/local/start/syntastic b/vim/pack/local/start/syntastic deleted file mode 160000 index 08adf11..0000000 --- a/vim/pack/local/start/syntastic +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 08adf11e81baef2f504d766f8c5b7444b2ee5a6f diff --git a/vim/pack/local/start/vimproc b/vim/pack/local/start/vimproc deleted file mode 160000 index 03a38f2..0000000 --- a/vim/pack/local/start/vimproc +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 03a38f283ca9e15784e8fea84e8afc5d633b9639 diff --git a/vimrc b/vimrc index fb25047..eef3d37 100644 --- a/vimrc +++ b/vimrc @@ -649,6 +649,18 @@ autocmd BufEnter * exe "nnoremap T :e " . expand('%') " }}} " }}} " Plugins {{{ +" ale {{{ +let g:ale_lint_on_text_changed = 'normal' +let g:ale_lint_on_insert_leave = 1 +let g:ale_history_enabled = 0 +let g:ale_history_log_output = 0 + +let g:ale_linters = { +\ 'perl': ['perlcritic'] +\} + +let g:ale_rust_cargo_use_check = 1 +" }}} " airline " bufferline {{{ let g:bufferline_echo = 0 @@ -755,14 +767,6 @@ for file in [ '.gitignore', expand('~/.gitignore') ] endif endfor " }}} -" syntastic {{{ -let g:syntastic_always_populate_loc_list = 1 -let g:syntastic_check_on_open = 1 -let g:syntastic_check_on_wq = 0 -let g:syntastic_enable_signs = 0 -let g:syntastic_perl_checkers = [] -let g:syntastic_ruby_checkers = ['mri', 'rubocop'] -" }}} " tcomment {{{ nmap ;x gcc xmap ;x gc @@ -775,7 +779,6 @@ let g:Textobj_defs = [ \[',', 'Textobj_arg'], \] " }}} -" vimproc " Load plugins that don't use vim's format {{{ runtime macros/matchit.vim " just loading this directly from the plugin directory fails because language -- cgit v1.2.3-54-g00ecf