mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-06 04:34:25 +08:00
Close #4618 - Do not show info for the ALEInfo window
This commit is contained in:
@@ -340,6 +340,11 @@ function! ale#debugging#InfoCommand(...) abort
|
||||
return
|
||||
endif
|
||||
|
||||
" Do not show info for the info window itself.
|
||||
if &filetype is# 'ale-info'
|
||||
return
|
||||
endif
|
||||
|
||||
" Get 'echo' from '-echo', if there's an argument.
|
||||
let l:mode = get(a:000, '')[1:]
|
||||
|
||||
|
||||
@@ -767,3 +767,6 @@ Execute (ALEInfo should include linter global options for enabled linters):
|
||||
\)
|
||||
|
||||
|
||||
Given ale-info (An ALEInfo buffer):
|
||||
Execute(ALEInfo should not report information about its own window):
|
||||
call CheckInfo([])
|
||||
|
||||
Reference in New Issue
Block a user