fix: update hide scrollbar logic to work with cmp
This commit is contained in:
parent
45b4530fa4
commit
d09abcf8b3
|
@ -21,8 +21,11 @@ end
|
||||||
|
|
||||||
local cmp_window = require "cmp.utils.window"
|
local cmp_window = require "cmp.utils.window"
|
||||||
|
|
||||||
function cmp_window:has_scrollbar()
|
cmp_window.info_ = cmp_window.info
|
||||||
return false
|
cmp_window.info = function(self)
|
||||||
|
local info = self:info_()
|
||||||
|
info.scrollable = false
|
||||||
|
return info
|
||||||
end
|
end
|
||||||
|
|
||||||
local options = {
|
local options = {
|
||||||
|
|
Loading…
Reference in New Issue