enc: set global config dasboard to pcode

This commit is contained in:
asep.komarudin 2024-06-15 07:06:45 +07:00
parent 66c6917a73
commit 489b9491ab
4 changed files with 10 additions and 10 deletions

View file

@ -1,4 +1,4 @@
local model = vim.g.pcode_model
local model = pcode.model
if model ~= nil then
if model == 1 then
require("user.startify")

View file

@ -14,7 +14,7 @@ local board = {
[[|_| |__/ ]],
}
local data_board = vim.g.pcode_header2
local data_board = pcode.header2
if data_board ~= nil then
board = data_board
end
@ -41,7 +41,7 @@ dashboard.opts.opts.noautocmd = true
alpha.setup(dashboard.opts)
local footer_text = "Pojok Code"
local data_txt = vim.g.pcode_footer
local data_txt = pcode.footer
if data_txt ~= nil then
footer_text = data_txt
end

View file

@ -9,7 +9,7 @@ dash_model = {
[[ /_/ |___/ ]],
}
local board = vim.g.pcode_header1
local board = pcode.header1
if board ~= nil then
dash_model = board
end
@ -38,7 +38,7 @@ startify.section.bottom_buttons.val = {
}
local footer_text = "Pojok Code"
local data_txt = vim.g.pcode_footer
local data_txt = pcode.footer
if data_txt ~= nil then
footer_text = data_txt
end