nvim-config: add ale linter plugin
This commit is contained in:
parent
c177e07c0e
commit
ac52fb785c
@ -1,7 +1,13 @@
|
|||||||
" GENERAL SETTINGS
|
" GENERAL SETTINGS
|
||||||
|
" ================
|
||||||
set number
|
set number
|
||||||
|
|
||||||
"### VIM-PLUG SETTINGS
|
" Highlight Past Column 80
|
||||||
|
highlight ColorColumn ctermbg=234
|
||||||
|
execute "set colorcolumn=" . join(range(81,335), ',')
|
||||||
|
|
||||||
|
" VIM-PLUG SETTINGS
|
||||||
|
" =================
|
||||||
" Neovim ~/.local/share/nvim/plugged
|
" Neovim ~/.local/share/nvim/plugged
|
||||||
" https://github.com/junegunn/vim-plug
|
" https://github.com/junegunn/vim-plug
|
||||||
" run :PlugInstall to install them
|
" run :PlugInstall to install them
|
||||||
@ -11,10 +17,14 @@ Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
|
|||||||
|
|
||||||
Plug 'zchee/deoplete-jedi'
|
Plug 'zchee/deoplete-jedi'
|
||||||
|
|
||||||
|
Plug 'w0rp/ale'
|
||||||
|
|
||||||
" Initialize plugin system
|
" Initialize plugin system
|
||||||
call plug#end()
|
call plug#end()
|
||||||
|
|
||||||
" PLUGIN SETTINGS
|
" PLUGIN SETTINGS
|
||||||
|
" ===============
|
||||||
|
"
|
||||||
" enable deoplete
|
" enable deoplete
|
||||||
let g:deoplete#enable_at_startup = 1
|
let g:deoplete#enable_at_startup = 1
|
||||||
" tab autocomplete for deoplete
|
" tab autocomplete for deoplete
|
||||||
@ -26,3 +36,5 @@ function! s:check_back_space() abort "{{{
|
|||||||
let col = col('.') - 1
|
let col = col('.') - 1
|
||||||
return !col || getline('.')[col - 1] =~ '\s'
|
return !col || getline('.')[col - 1] =~ '\s'
|
||||||
endfunction"}}}
|
endfunction"}}}
|
||||||
|
" enable ale linter whenever available
|
||||||
|
let g:ale_completion_enabled = 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user