diff --git a/lua/plugins/configs/cmp.lua b/lua/plugins/configs/cmp.lua index 45a10c7..c587eb1 100644 --- a/lua/plugins/configs/cmp.lua +++ b/lua/plugins/configs/cmp.lua @@ -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 = {