refactor: simplify data variable usage across multiple modules

This commit is contained in:
2024-08-24 16:32:29 -04:00
parent ac9397a703
commit c02ba52ff1
8 changed files with 59 additions and 54 deletions
+3 -1
View File
@@ -1,6 +1,8 @@
-- ╭─────────────────────────────────────────────────────────╮
-- │ Auto Completion │
-- ╰─────────────────────────────────────────────────────────╯
local data = require("data")
return {
{
"hrsh7th/nvim-cmp",
@@ -153,7 +155,7 @@ return {
})
-- List of filetypes to disable completion
local disabled_filetypes = require("data.types").cmp
local disabled_filetypes = data.types.cmp
for _, filetype in ipairs(disabled_filetypes) do
cmp.setup.filetype(filetype, {
sources = {},