mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-21 00:25:47 +02:00
update
This commit is contained in:
parent
254e6b9550
commit
0bbf088778
3 changed files with 20 additions and 2 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
|
10
lua/custom/dashboard.lua
Normal file
10
lua/custom/dashboard.lua
Normal file
|
@ -0,0 +1,10 @@
|
|||
return "" -- hapus line ini dan buka remark dibawah (ganti dengan dashboard kalian)
|
||||
|
||||
-- return {
|
||||
-- [[ __ ]],
|
||||
-- [[ ___ ___ ___ __ __ /\_\ ___ ___ ]],
|
||||
-- [[ / _ `\ / __`\ / __`\/\ \/\ \\/\ \ / __` __`\ ]],
|
||||
-- [[/\ \/\ \/\ __//\ \_\ \ \ \_/ |\ \ \/\ \/\ \/\ \ ]],
|
||||
-- [[\ \_\ \_\ \____\ \____/\ \___/ \ \_\ \_\ \_\ \_\]],
|
||||
-- [[ \/_/\/_/\/____/\/___/ \/__/ \/_/\/_/\/_/\/_/]],
|
||||
-- }
|
|
@ -3,8 +3,7 @@ if not status_ok then
|
|||
return
|
||||
end
|
||||
|
||||
local dashboard = require("alpha.themes.dashboard")
|
||||
dashboard.section.header.val = {
|
||||
local board = {
|
||||
[[ _ _ _ ]],
|
||||
[[ (_) | | | | ]],
|
||||
[[ _ __ ___ _ ___ | | __ ___ ___ __| | ___ ]],
|
||||
|
@ -14,6 +13,14 @@ dashboard.section.header.val = {
|
|||
[[| | _/ | ]],
|
||||
[[|_| |__/ ]],
|
||||
}
|
||||
|
||||
local custom_dasboard = require("custom.dashboard")
|
||||
if custom_dasboard ~= "" then
|
||||
board = custom_dasboard
|
||||
end
|
||||
|
||||
local dashboard = require("alpha.themes.dashboard")
|
||||
dashboard.section.header.val = board
|
||||
dashboard.section.buttons.val = {
|
||||
dashboard.button("f", " Find file", ":Telescope find_files <CR>"),
|
||||
dashboard.button("e", " New file", ":ene <BAR> startinsert <CR>"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue