nvim: Switch to ALE
Signed-off-by: Sanchayan Maity <sanchayan.maity@harman.com>
This commit is contained in:
parent
1f1a8c3695
commit
10df5e535a
1 changed files with 16 additions and 21 deletions
|
@ -1,16 +1,10 @@
|
||||||
" Specify a directory for plugins (for Neovim: ~/.local/share/nvim/plugged)
|
" Specify a directory for plugins (for Neovim: ~/.local/share/nvim/plugged)
|
||||||
call plug#begin('~/.config/nvim/plugged')
|
call plug#begin('~/.config/nvim/plugged')
|
||||||
|
|
||||||
" Neomake build tool
|
|
||||||
Plug 'benekastah/neomake'
|
|
||||||
" Automatically match brackets as you type
|
" Automatically match brackets as you type
|
||||||
Plug 'Raimondi/delimitMate'
|
Plug 'Raimondi/delimitMate'
|
||||||
" Tab completion
|
" Tab completion
|
||||||
Plug 'ervandew/supertab'
|
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)
|
" EasyMotion - Allows <leader><leader>(b|e) to jump to (b)eginning or (end)
|
||||||
" of words.
|
" of words.
|
||||||
Plug 'easymotion/vim-easymotion'
|
Plug 'easymotion/vim-easymotion'
|
||||||
|
@ -32,15 +26,6 @@ Plug 'scrooloose/nerdtree'
|
||||||
Plug 'scrooloose/nerdcommenter'
|
Plug 'scrooloose/nerdcommenter'
|
||||||
" Theme
|
" Theme
|
||||||
Plug 'sickill/vim-monokai'
|
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
|
" Autoload and read from dish if file changes
|
||||||
Plug 'tmux-plugins/vim-tmux-focus-events'
|
Plug 'tmux-plugins/vim-tmux-focus-events'
|
||||||
" For LaTeX support
|
" For LaTeX support
|
||||||
|
@ -49,6 +34,19 @@ Plug 'donRaphaco/neotex', { 'for': 'tex' }
|
||||||
Plug 'jreybert/vimagit'
|
Plug 'jreybert/vimagit'
|
||||||
" For tmux yank
|
" For tmux yank
|
||||||
Plug 'vim-utils/vim-husk'
|
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
|
" Initialize plugin system
|
||||||
call plug#end()
|
call plug#end()
|
||||||
|
@ -56,9 +54,6 @@ call plug#end()
|
||||||
syntax on
|
syntax on
|
||||||
filetype plugin indent on
|
filetype plugin indent on
|
||||||
|
|
||||||
" Don't mess up undo history
|
|
||||||
let g:jedi#show_call_signatures = "0"
|
|
||||||
|
|
||||||
" Highlight 80th column
|
" Highlight 80th column
|
||||||
set colorcolumn=80
|
set colorcolumn=80
|
||||||
" Always show status bar
|
" Always show status bar
|
||||||
|
@ -189,9 +184,9 @@ let g:haskell_indent_guard = 2
|
||||||
let g:haskell_indent_case_alternative = 1
|
let g:haskell_indent_case_alternative = 1
|
||||||
let g:cabal_indent_section = 2
|
let g:cabal_indent_section = 2
|
||||||
|
|
||||||
" Use deoplete.
|
" Use ALE
|
||||||
let g:deoplete#enable_at_startup = 1
|
let g:ale_completion_enabled=1
|
||||||
let g:deoplete#enable_smart_case = 1
|
let g:airline#extensions#ale#enabled = 1
|
||||||
|
|
||||||
let g:airline#extensions#tabline#enabled = 2
|
let g:airline#extensions#tabline#enabled = 2
|
||||||
let g:airline#extensions#tabline#fnamemod = ':t'
|
let g:airline#extensions#tabline#fnamemod = ':t'
|
||||||
|
|
Loading…
Reference in a new issue