summaryrefslogtreecommitdiff
path: root/plugin/ale.vim
diff options
context:
space:
mode:
authorJasper Woudenberg <mail@jasperwoudenberg.com>2017-03-01 23:14:30 -0800
committerJasper Woudenberg <mail@jasperwoudenberg.com>2017-03-01 23:27:48 -0800
commit70711022db8c8a5602550601ef275c20b2105bcc (patch)
treecf4241f15b0d696c98f2ccb625b8548901e32e44 /plugin/ale.vim
parent18508f74532f41aa4c66a5e217550f00d150a30d (diff)
downloadale-70711022db8c8a5602550601ef275c20b2105bcc.zip
Add support for error details
Some review needed.
Diffstat (limited to 'plugin/ale.vim')
-rw-r--r--plugin/ale.vim4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugin/ale.vim b/plugin/ale.vim
index 1d7f77a5..a3a407c4 100644
--- a/plugin/ale.vim
+++ b/plugin/ale.vim
@@ -208,6 +208,9 @@ command! ALEPreviousWrap :call ale#loclist_jumping#Jump('before', 1)
command! ALENext :call ale#loclist_jumping#Jump('after', 0)
command! ALENextWrap :call ale#loclist_jumping#Jump('after', 1)
+" A command for showing error details.
+command! ALEDetail :call ale#cursor#ShowCursorDetail()
+
" A command for turning ALE on or off.
command! ALEToggle :call s:ALEToggle()
" A command for linting manually.
@@ -225,6 +228,7 @@ nnoremap <silent> <Plug>(ale_next) :ALENext<Return>
nnoremap <silent> <Plug>(ale_next_wrap) :ALENextWrap<Return>
nnoremap <silent> <Plug>(ale_toggle) :ALEToggle<Return>
nnoremap <silent> <Plug>(ale_lint) :ALELint<Return>
+nnoremap <silent> <Plug>(ale_detail) :ALEDetail<Return>
" Housekeeping