i may or may have not stolen this really quickly from lunar vim lmao

This commit is contained in:
Sakooooo 2023-08-11 12:52:50 +03:00
parent 78fa00849c
commit f465676111
Signed by: sako
GPG key ID: 3FD715D87D7725E0

View file

@ -1,4 +1,5 @@
-- bootstrap lazy.nvim -- bootstrap lazy.nvim
local dashboard_configuration = require "core.plugin_config.dashboard"
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim" local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then if not vim.loop.fs_stat(lazypath) then
vim.fn.system({ vim.fn.system({
@ -72,11 +73,7 @@ local plugins = {
-- startup -- startup
{ {
'glepnir/dashboard-nvim', 'glepnir/dashboard-nvim',
config = function() config = dashboard_configuration.get_sections(),
require('dashboard').setup {
require('plugin_config.dashboard')
}
end,
event = 'VimEnter', event = 'VimEnter',
dependencies = { { 'nvim-tree/nvim-web-devicons' } } dependencies = { { 'nvim-tree/nvim-web-devicons' } }
}, },