summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.vim/bundle/README1
-rw-r--r--.vimrc10
2 files changed, 11 insertions, 0 deletions
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 <silent> <leader>k <Plug>(ale_previous_wrap)
+nmap <silent> <leader>j <Plug>(ale_next_wrap)