mirror of
https://github.com/dense-analysis/ale.git
synced 2026-10-04 19:28:52 +08: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:
1 parent
59f8c35a2f
commit
9e95032b30
1 file changed
+1
-1
@@ -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')
|
||||
|
||||
|
||||
Reference in new issue
Block a user