mirror of
https://github.com/dense-analysis/ale
synced 2024-12-25 07:32:24 +00:00
* fix #4276: honor b:ale_enabled for hover at cursor * fix indention
This commit is contained in:
parent
233b681029
commit
7889983f89
@ -339,6 +339,10 @@ function! ale#hover#ShowTruncatedMessageAtCursor() abort
|
||||
let l:buffer = bufnr('')
|
||||
let l:pos = getpos('.')[0:2]
|
||||
|
||||
if !getbufvar(l:buffer, 'ale_enabled', 1)
|
||||
return
|
||||
endif
|
||||
|
||||
if l:pos != s:last_pos
|
||||
let s:last_pos = l:pos
|
||||
let [l:info, l:loc] = ale#util#FindItemAtCursor(l:buffer)
|
||||
|
Loading…
Reference in New Issue
Block a user