remove usage of globals for util functions
This commit is contained in:
parent
0f013d4e7b
commit
cb97cef2a7
18 changed files with 55 additions and 55 deletions
|
|
@ -23,9 +23,9 @@ local cmp_window = require "cmp.utils.window"
|
|||
|
||||
cmp_window.info_ = cmp_window.info
|
||||
cmp_window.info = function(self)
|
||||
local info = self:info_()
|
||||
info.scrollable = false
|
||||
return info
|
||||
local info = self:info_()
|
||||
info.scrollable = false
|
||||
return info
|
||||
end
|
||||
|
||||
local options = {
|
||||
|
|
@ -96,6 +96,6 @@ local options = {
|
|||
}
|
||||
|
||||
-- check for any override
|
||||
options = nvchad.load_override(options, "hrsh7th/nvim-cmp")
|
||||
options = require("core.utils").load_override(options, "hrsh7th/nvim-cmp")
|
||||
|
||||
cmp.setup(options)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue