summaryrefslogtreecommitdiff
path: root/autoload
diff options
context:
space:
mode:
authorJethro Shuwen Sun <jethro.sun7@gmail.com>2019-04-16 09:40:39 -0400
committerw0rp <w0rp@users.noreply.github.com>2019-04-16 14:40:39 +0100
commit9e95032b305edf883ae19e848f5a9f27b09a37f1 (patch)
tree722b21f668a141c4c1d96a80cdf4a67ce06c7cee /autoload
parent59f8c35a2fcfbc032de6115da0d5ab0bd38db035 (diff)
downloadale-9e95032b305edf883ae19e848f5a9f27b09a37f1.zip
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
Diffstat (limited to 'autoload')
-rw-r--r--autoload/ale/virtualtext.vim2
1 files changed, 1 insertions, 1 deletions
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')