From 9e95032b305edf883ae19e848f5a9f27b09a37f1 Mon Sep 17 00:00:00 2001 From: Jethro Shuwen Sun Date: Tue, 16 Apr 2019 09:40:39 -0400 Subject: 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 --- autoload/ale/virtualtext.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'autoload') diff --git a/autoload/ale/virtualtext.vim b/autoload/ale/virtualtext.vim index 532427fb..d7c5360e 100644 --- a/autoload/ale/virtualtext.vim +++ b/autoload/ale/virtualtext.vim @@ -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') -- cgit v1.2.3