mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-21 16:39:04 +02:00
17 lines
389 B
Lua
17 lines
389 B
Lua
local data_exists, custom_dasboard = pcall(require, "custom.dashboard")
|
|
if data_exists then
|
|
if type(custom_dasboard) == "table" then
|
|
local model = custom_dasboard.model
|
|
if model ~= nil then
|
|
if model == 1 then
|
|
require("user.startify")
|
|
else
|
|
require("user.dashboard")
|
|
end
|
|
else
|
|
require("user.startify")
|
|
end
|
|
end
|
|
else
|
|
require("user.startify")
|
|
end
|