update vimrc to ale instead of syntastic

This commit is contained in:
Barak Michener 2018-08-09 22:54:14 -07:00
parent 3a211ea8e3
commit 9f29b0eb44

19
.vimrc
View file

@ -88,7 +88,8 @@ Plug 'sjbach/lusty'
Plug 'scrooloose/nerdcommenter'
"Plug 'scrooloose/nerdtree'
Plug 'rstacruz/sparkup'
Plug 'scrooloose/syntastic'
"Plug 'scrooloose/syntastic'
Plug 'w0rp/ale'
Plug 'tpope/vim-fugitive'
Plug 'airblade/vim-gitgutter'
Plug 'lunaru/vim-less'
@ -96,6 +97,7 @@ Plug 'lunaru/vim-less'
Plug 'tpope/vim-unimpaired'
"Plug 'Valloric/YouCompleteMe'
Plug 'Shougo/deoplete.nvim'
Plug 'zchee/deoplete-clang'
Plug 'zchee/deoplete-go', {'build': {'unix': 'make'}}
Plug 'zchee/deoplete-jedi'
Plug 'b4winckler/vim-angry'
@ -232,6 +234,21 @@ let g:syntastic_auto_loc_list = 2
let g:syntastic_loc_list_height = 10
" E111 = Spaces should be multiples of 4. I use 2.
" * ALE
let g:airline#extensions#ale#enabled = 1
let g:ale_set_highlights = 0
" * LanguageServer
let g:LanguageClient_serverCommands = {
\ 'python': ['pyls'],
\ }
let g:LanguageClient_diagnosticsDisplay = {
\1: {'name': 'Error', 'texthl': 'ALEError', 'signText': 'E>', 'signTexthl': 'ALEErrorSign',},
\2: {"name": "Warning", "texthl": "ALEWarning", "signText": "W>", "signTexthl": "ALEWarningSign",},
\3: {"name": "Information", "texthl": "ALEInfo", "signText": "i-", "signTexthl": "ALEInfoSign",},
\4: {"name": "Hint", "texthl": "ALEInfo", "signText": "--", "signTexthl": "ALEInfoSign",},
\}
" * Configure browser for haskell_doc.vim
let g:haddock_browser = "open"
let g:haddock_browser_callformat = "%s %s"