Fix #757 - Show :ALEDetail messages in a window

This commit is contained in:
w0rp
2017-11-14 23:25:01 +00:00
parent 6b2c61a5cc
commit d48506f9c1
4 changed files with 36 additions and 12 deletions

View File

@@ -125,9 +125,7 @@ function! ale#cursor#ShowCursorDetail() abort
if !empty(l:loc)
let l:message = get(l:loc, 'detail', l:loc.text)
call s:EchoWithShortMess('off', l:message)
" Set the echo marker, so we can clear it by moving the cursor.
let l:info.echoed = 1
call ale#preview#Show(split(l:message, "\n"))
echo
endif
endfunction