mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-21 16:39:04 +02:00
rename dashboard to header
This commit is contained in:
parent
ad59d61555
commit
7433474605
4 changed files with 7 additions and 7 deletions
|
@ -23,8 +23,8 @@ config = {
|
|||
custom_lualine = opt("custom_lualine", false),
|
||||
component_separators = opt("component_separators", { left = " ", right = " " }),
|
||||
section_separators = opt("section_separators", { left = " ", right = " " }),
|
||||
dashboard1 = opt("dashboard1", nil),
|
||||
dashboard2 = opt("dashboard2", nil),
|
||||
header1 = opt("header1", nil),
|
||||
header2 = opt("header2", nil),
|
||||
footer = opt("footer", nil),
|
||||
model = opt("model", 1),
|
||||
format_on_save = opt("format_on_save", 1),
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
-- 1. Buka remark dash board dibawah
|
||||
-- 2. Ubah dashboard sesuai keinginan dan kebutuhan
|
||||
|
||||
-- vim.g.pcode_dashboard1 = {
|
||||
-- vim.g.pcode_header1 = {
|
||||
-- [[ _ __ __ ]],
|
||||
-- [[ ___ ___ (____ / /__ _______ ___/ ___ ]],
|
||||
-- [[ / _ / _ \ / / _ \/ '_/ / __/ _ / _ / -_) ]],
|
||||
|
@ -10,7 +10,7 @@
|
|||
-- [[ /_/ |___/ ]],
|
||||
-- }
|
||||
|
||||
-- vim.g.pcode_dashboard2 = {
|
||||
-- vim.g.pcode_header2 = {
|
||||
-- [[ __ ]],
|
||||
-- [[ ___ ___ ___ __ __ /\_\ ___ ___ ]],
|
||||
-- [[ / _ `\ / __`\ / __`\/\ \/\ \\/\ \ / __` __`\ ]],
|
||||
|
@ -22,4 +22,4 @@
|
|||
|
||||
-- 1 startify model
|
||||
-- 2 dashboard model
|
||||
vim.g.pcode_model = 2 -- isi dengan 1 atau 2 untuk model dashboard
|
||||
vim.g.pcode_model = 1 -- isi dengan 1 atau 2 untuk model dashboard
|
||||
|
|
|
@ -16,7 +16,7 @@ local board = {
|
|||
|
||||
local data_exists, custom_dasboard = pcall(require, "core.config")
|
||||
if data_exists then
|
||||
local data_board = custom_dasboard.dashboard2
|
||||
local data_board = custom_dasboard.header2
|
||||
if data_board ~= nil then
|
||||
board = data_board
|
||||
end
|
||||
|
|
|
@ -11,7 +11,7 @@ dash_model = {
|
|||
|
||||
local data_exists, custom_dasboard = pcall(require, "core.config")
|
||||
if data_exists then
|
||||
local board = custom_dasboard.dashboard1
|
||||
local board = custom_dasboard.header1
|
||||
if board ~= nil then
|
||||
dash_model = board
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue