🧹 refactor(data): require data modules directly
require data modules directly throughout config. No longer user
require("data") as a parent module
This commit is contained in:
@@ -3,23 +3,22 @@
|
||||
-- ╭─────────────────────────────────────────────────────────╮
|
||||
-- │ Core │
|
||||
-- ╰─────────────────────────────────────────────────────────╯
|
||||
local data = require("data")
|
||||
|
||||
return {
|
||||
-- require("config.rocks").plugin_spec,
|
||||
{ -- LazyVim
|
||||
"LazyVim/LazyVim",
|
||||
priority = 900,
|
||||
opts = data.types.lazyvim.opts,
|
||||
opts = require("data.types").lazyvim.opts,
|
||||
},
|
||||
{ -- Bufferline
|
||||
"akinsho/bufferline.nvim",
|
||||
cond = data.types.bufferline.enabled,
|
||||
opts = data.types.bufferline.opts,
|
||||
cond = require("data.types").bufferline.enabled,
|
||||
opts = require("data.types").bufferline.opts,
|
||||
},
|
||||
{ -- Which-Key
|
||||
"folke/which-key.nvim",
|
||||
lazy = true,
|
||||
opts = data.types.whichkey.opts,
|
||||
opts = require("data.types").whichkey.opts,
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user