From ac52fb785cf9bab506d6f48d3fe11c981ddc24c5 Mon Sep 17 00:00:00 2001 From: Johannes Rothe Date: Tue, 6 Feb 2018 20:54:16 +0100 Subject: [PATCH] nvim-config: add ale linter plugin --- config/nvim/init.vim | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/config/nvim/init.vim b/config/nvim/init.vim index 631d74a..b323d83 100644 --- a/config/nvim/init.vim +++ b/config/nvim/init.vim @@ -1,7 +1,13 @@ " GENERAL SETTINGS +" ================ 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 " https://github.com/junegunn/vim-plug " run :PlugInstall to install them @@ -11,10 +17,14 @@ Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' } Plug 'zchee/deoplete-jedi' +Plug 'w0rp/ale' + " Initialize plugin system call plug#end() " PLUGIN SETTINGS +" =============== +" " enable deoplete let g:deoplete#enable_at_startup = 1 " tab autocomplete for deoplete @@ -26,3 +36,5 @@ function! s:check_back_space() abort "{{{ let col = col('.') - 1 return !col || getline('.')[col - 1] =~ '\s' endfunction"}}} +" enable ale linter whenever available +let g:ale_completion_enabled = 1