Refactor init.lua and move the initialization of lazy plugins into the
lazy_init file
This commit is contained in:
parent
1d2e173db6
commit
7a81af9ab4
2 changed files with 15 additions and 11 deletions
|
|
@ -24,9 +24,6 @@ vim.opt = require("vim_opt")
|
||||||
-- Initialize Lazy package manager
|
-- Initialize Lazy package manager
|
||||||
require("lazy_init")
|
require("lazy_init")
|
||||||
|
|
||||||
-- Initialize plugins, add a plugin by creating a new file in the plugins dir
|
|
||||||
require("lazy").setup("plugs")
|
|
||||||
|
|
||||||
-- Initialize the sticky terminal window at the bottom
|
-- Initialize the sticky terminal window at the bottom
|
||||||
require("terminal").setup()
|
require("terminal").setup()
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -10,3 +10,10 @@ if not vim.loop.fs_stat(lazypath) then
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
vim.opt.rtp:prepend(lazypath)
|
vim.opt.rtp:prepend(lazypath)
|
||||||
|
|
||||||
|
-- Initialize plugins, add a plugin by creating a new file in the plugins dir
|
||||||
|
require("lazy").setup("plugs", {
|
||||||
|
rocks = {
|
||||||
|
hererocks = true,
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue