mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-07-20 02:34:47 +02:00
enc: set global config dasboard to pcode
This commit is contained in:
parent
66c6917a73
commit
489b9491ab
4 changed files with 10 additions and 10 deletions
|
@ -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")
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue