feat: Finish library migration

This commit is contained in:
punkfairie 2024-12-01 11:20:02 -08:00
parent 86cc51458a
commit 12f64b02e9
Signed by: punkfairie
GPG key ID: A509E8F77FB9D696
5 changed files with 4 additions and 15 deletions

View file

@ -1,11 +0,0 @@
local M = {}
---@param prefix string The string to prefix to all req calls.
function M.localRequire(prefix)
---@param mod string The module to require.
return function(mod)
return require(prefix .. '.' .. mod)
end
end
return M

View file

@ -1,4 +1,4 @@
local req = require('lib.marleyvim').localRequire('plugins.colorscheme')
local req = MarleyVim.local_require('plugins.colorscheme')
return {
req('rose-pine'),

View file

@ -1,4 +1,4 @@
local req = require('lib.marleyvim').localRequire('plugins.editor')
local req = MarleyVim.local_require('plugins.editor')
return {
req('neo-tree-nvim'),

View file

@ -1,4 +1,4 @@
local req = require('lib.marleyvim').localRequire('plugins.ui')
local req = MarleyVim.local_require('plugins.ui')
return {
req('alpha-nvim'),

View file

@ -1,4 +1,4 @@
local req = require('lib.marleyvim').localRequire('plugins.util')
local req = MarleyVim.local_require('plugins.util')
return {
req('nui-nvim'),