mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-04-18 20:36:45 +00:00
fix: support adding top-level lua directories
This commit is contained in:
parent
fca984b18c
commit
72889623af
2 changed files with 9 additions and 2 deletions
|
@ -39,6 +39,10 @@ function M.setup(opts)
|
|||
-- rebuild state
|
||||
local Plugin = require("lazy.plugin")
|
||||
Module.add_module(vim.fn.stdpath("config") .. "/lua/" .. Config.options.plugins:gsub("%.", "/"))
|
||||
-- Module.add_module(vim.fn.stdpath("config") .. "/lua")
|
||||
-- Module.add_module(Config.options.package_path .. "/start/tokyonight.nvim/lua")
|
||||
-- Module.add_module(Config.options.package_path .. "/opt/nvim-cmp/lua")
|
||||
-- Module.add_module(Config.options.package_path .. "/opt/cmp-buffer/lua")
|
||||
vim.schedule(function()
|
||||
vim.notify("Reloading")
|
||||
end)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue