mirror of
https://github.com/dense-analysis/ale
synced 2024-12-29 01:22:17 +00:00
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:
parent
59f8c35a2f
commit
9e95032b30
@ -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')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user