summaryrefslogtreecommitdiffstats
path: root/.vimrc
diff options
context:
space:
mode:
authorGravatar Robin Obůrka <r.oburka@gmail.com> 2017-08-19 15:53:24 +0200
committerGravatar Robin Obůrka <r.oburka@gmail.com> 2017-08-19 15:53:24 +0200
commitb9b7f5ad92136da5e691b95a7b7f9f2788bf6b8d (patch)
tree5a44361a4f9f9591fe7ecd9ee24a253438f2ce81 /.vimrc
parentAdd some new plugins into bundles README (diff)
downloadvim_sync-b9b7f5ad92136da5e691b95a7b7f9f2788bf6b8d.tar.xz
Add ALE plugin configuration
Diffstat (limited to '.vimrc')
-rw-r--r--.vimrc10
1 files changed, 10 insertions, 0 deletions
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)