nvim: Switch to ALE

Signed-off-by: Sanchayan Maity <sanchayan.maity@harman.com>
This commit is contained in:
Sanchayan Maity 2019-02-12 13:53:56 +05:30
parent 1f1a8c3695
commit 10df5e535a

View file

@ -1,16 +1,10 @@
" Specify a directory for plugins (for Neovim: ~/.local/share/nvim/plugged)
call plug#begin('~/.config/nvim/plugged')
" Neomake build tool
Plug 'benekastah/neomake'
" Automatically match brackets as you type
Plug 'Raimondi/delimitMate'
" Tab completion
Plug 'ervandew/supertab'
" Haskell
Plug 'neovimhaskell/haskell-vim', { 'for': [ 'haskell', 'cabal' ] }
" Lisp
Plug 'vim-scripts/paredit.vim', { 'for': [ 'scheme', 'lisp', 'commonlisp' ] }
" EasyMotion - Allows <leader><leader>(b|e) to jump to (b)eginning or (end)
" of words.
Plug 'easymotion/vim-easymotion'
@ -32,15 +26,6 @@ Plug 'scrooloose/nerdtree'
Plug 'scrooloose/nerdcommenter'
" Theme
Plug 'sickill/vim-monokai'
" Ghcid for Haskell
Plug 'ndmitchell/ghcid', { 'rtp': 'plugins/nvim' }
" Language Client
Plug 'autozimu/LanguageClient-neovim', {
\ 'branch': 'next',
\ 'do': 'fish install.sh',
\ }
" Auto Completion with Deoplete
Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
" Autoload and read from dish if file changes
Plug 'tmux-plugins/vim-tmux-focus-events'
" For LaTeX support
@ -49,6 +34,19 @@ Plug 'donRaphaco/neotex', { 'for': 'tex' }
Plug 'jreybert/vimagit'
" For tmux yank
Plug 'vim-utils/vim-husk'
" Lisp
Plug 'vim-scripts/paredit.vim', { 'for': [ 'scheme', 'lisp', 'commonlisp' ] }
" Haskell
Plug 'neovimhaskell/haskell-vim', { 'for': [ 'haskell', 'cabal' ] }
" Ghcid for Haskell
Plug 'ndmitchell/ghcid', { 'rtp': 'plugins/nvim' }
" Language Client
Plug 'autozimu/LanguageClient-neovim', {
\ 'branch': 'next',
\ 'do': 'fish install.sh',
\ }
" Asynchronous Lint Engine
Plug 'w0rp/ale'
" Initialize plugin system
call plug#end()
@ -56,9 +54,6 @@ call plug#end()
syntax on
filetype plugin indent on
" Don't mess up undo history
let g:jedi#show_call_signatures = "0"
" Highlight 80th column
set colorcolumn=80
" Always show status bar
@ -189,9 +184,9 @@ let g:haskell_indent_guard = 2
let g:haskell_indent_case_alternative = 1
let g:cabal_indent_section = 2
" Use deoplete.
let g:deoplete#enable_at_startup = 1
let g:deoplete#enable_smart_case = 1
" Use ALE
let g:ale_completion_enabled=1
let g:airline#extensions#ale#enabled = 1
let g:airline#extensions#tabline#enabled = 2
let g:airline#extensions#tabline#fnamemod = ':t'