mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-22 00:49:03 +02:00
refactor: move api to ui and util
This commit is contained in:
parent
7a49913cf2
commit
bf8f5b31f3
3 changed files with 10 additions and 6 deletions
|
@ -1,6 +0,0 @@
|
||||||
-- plugins that provide apis for other plugins
|
|
||||||
return {
|
|
||||||
"nvim-tree/nvim-web-devicons",
|
|
||||||
"nvim-lua/plenary.nvim",
|
|
||||||
"MunifTanjim/nui.nvim",
|
|
||||||
}
|
|
|
@ -152,6 +152,7 @@ return {
|
||||||
alpha.setup(dashboard.opts)
|
alpha.setup(dashboard.opts)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
vim.api.nvim_create_autocmd("User", {
|
vim.api.nvim_create_autocmd("User", {
|
||||||
pattern = "LazyVimStarted",
|
pattern = "LazyVimStarted",
|
||||||
callback = function()
|
callback = function()
|
||||||
|
@ -163,4 +164,10 @@ return {
|
||||||
})
|
})
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
-- icons
|
||||||
|
"nvim-tree/nvim-web-devicons",
|
||||||
|
|
||||||
|
-- ui components
|
||||||
|
"MunifTanjim/nui.nvim",
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,4 +8,7 @@ return {
|
||||||
vim.g.startuptime_tries = 10
|
vim.g.startuptime_tries = 10
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
-- library used by other plugins
|
||||||
|
"nvim-lua/plenary.nvim",
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue