diff options
author | Jethro Shuwen Sun <jethro.sun7@gmail.com> | 2019-04-16 09:40:39 -0400 |
---|---|---|
committer | w0rp <w0rp@users.noreply.github.com> | 2019-04-16 14:40:39 +0100 |
commit | 9e95032b305edf883ae19e848f5a9f27b09a37f1 (patch) | |
tree | 722b21f668a141c4c1d96a80cdf4a67ce06c7cee /autoload | |
parent | 59f8c35a2fcfbc032de6115da0d5ab0bd38db035 (diff) | |
download | ale-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.vim | 2 |
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') |