fix: update hide scrollbar logic to work with cmp

This commit is contained in:
Freddie Haddad 2022-05-21 11:52:21 -07:00 committed by siduck
parent 45b4530fa4
commit d09abcf8b3
1 changed files with 5 additions and 2 deletions

View File

@ -21,8 +21,11 @@ end
local cmp_window = require "cmp.utils.window"
function cmp_window:has_scrollbar()
return false
cmp_window.info_ = cmp_window.info
cmp_window.info = function(self)
local info = self:info_()
info.scrollable = false
return info
end
local options = {