From b9b7f5ad92136da5e691b95a7b7f9f2788bf6b8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robin=20Ob=C5=AFrka?= Date: Sat, 19 Aug 2017 15:53:24 +0200 Subject: Add ALE plugin configuration --- .vim/bundle/README | 1 + .vimrc | 10 ++++++++++ 2 files changed, 11 insertions(+) diff --git a/.vim/bundle/README b/.vim/bundle/README index 1d22952..f1471b3 100644 --- a/.vim/bundle/README +++ b/.vim/bundle/README @@ -5,3 +5,4 @@ https://github.com/Valloric/YouCompleteMe.git https://github.com/scrooloose/nerdtree.git https://github.com/itchyny/lightline.vim https://github.com/yggdroot/indentline +https://github.com/w0rp/ale.git diff --git a/.vimrc b/.vimrc index dbcc12f..15f0e9a 100644 --- a/.vimrc +++ b/.vimrc @@ -245,3 +245,13 @@ let g:ycm_autoclose_preview_window_after_completion = 1 let g:ansible_attribute_highlight = "ab" let g:ansible_name_highlight = 'd' let g:ansible_extra_keywords_highlight = 1 + +" ============ +" ale settings +" ============ +let g:ale_lint_on_text_changed = 'never' +let g:ale_echo_msg_error_str = 'E' +let g:ale_echo_msg_warning_str = 'W' +let g:ale_echo_msg_format = '[%severity%] (%linter%) %s' +nmap k (ale_previous_wrap) +nmap j (ale_next_wrap) -- cgit v1.2.3