mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-07-02 21:44:29 +02:00
update dashboard
This commit is contained in:
parent
c1922396d8
commit
dee1a6570b
3 changed files with 15 additions and 7 deletions
|
@ -14,9 +14,14 @@ local board = {
|
|||
[[|_| |__/ ]],
|
||||
}
|
||||
|
||||
local custom_dasboard = require("custom.dashboard")
|
||||
if custom_dasboard ~= "" then
|
||||
board = custom_dasboard
|
||||
local data_exists, custom_dasboard = pcall(require, "custom.dashboard")
|
||||
if data_exists then
|
||||
if type(custom_dasboard) == "table" then
|
||||
local data_board = custom_dasboard.dashboard
|
||||
if data_board ~= nil then
|
||||
board = data_board
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
local dashboard = require("alpha.themes.dashboard")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue