fix 2434: use text field instead of the detail field for virtualtext (#2441)

* use text field instead of the detail field for virtualtext

*  make the change simpler
This commit is contained in:
Jethro Shuwen Sun 2019-04-16 09:40:39 -04:00 committed by w0rp
parent 59f8c35a2f
commit 9e95032b30
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ function! ale#virtualtext#ShowCursorWarning(...) abort
call ale#virtualtext#Clear()
if !empty(l:loc)
let l:msg = get(l:loc, 'detail', l:loc.text)
let l:msg = l:loc.text
let l:hl_group = 'ALEVirtualTextInfo'
let l:type = get(l:loc, 'type', 'E')