summaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorw0rp <w0rp@users.noreply.github.com>2017-03-03 19:36:52 +0000
committerGitHub <noreply@github.com>2017-03-03 19:36:52 +0000
commit1f211dbe3e6820e60bcb5044690f31a288399e44 (patch)
tree67c1676bd9b96b2c0f3c652fa7980baa65880f28 /plugin
parent969274ccc2a2d334d36b3e767de362b8dc40f4e2 (diff)
parent7030758da623ad692d18ecaaffdac283b91d4d09 (diff)
downloadale-1f211dbe3e6820e60bcb5044690f31a288399e44.zip
Merge pull request #374 from jwoudenberg/master
WIP: Add support for error details
Diffstat (limited to 'plugin')
-rw-r--r--plugin/ale.vim4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugin/ale.vim b/plugin/ale.vim
index 90505f29..e69aba18 100644
--- a/plugin/ale.vim
+++ b/plugin/ale.vim
@@ -212,6 +212,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.
@@ -229,6 +232,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