mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-27 19:28:52 +02:00
update dashboard
This commit is contained in:
parent
c1922396d8
commit
dee1a6570b
3 changed files with 15 additions and 7 deletions
|
@ -18,7 +18,7 @@
|
|||
"indent-blankline.nvim": { "branch": "master", "commit": "db7cbcb40cc00fc5d6074d7569fb37197705e7f6" },
|
||||
"indent-o-matic": { "branch": "master", "commit": "3103dde7a47f2855097558ab52162bbbdbe8dc40" },
|
||||
"jaq-nvim": { "branch": "master", "commit": "236296aae555657487d1bb4d066cbde9d79d8cd4" },
|
||||
"lazy.nvim": { "branch": "main", "commit": "7674ee6254279cd5df7db92b41d3a2ca027bde55" },
|
||||
"lazy.nvim": { "branch": "main", "commit": "9b208696e139a404d159963b975a5b90af38439b" },
|
||||
"live-server": { "branch": "main", "commit": "ecd7c1418823b65dd2bca710587c80afe42c973e" },
|
||||
"lualine.nvim": { "branch": "master", "commit": "a52f078026b27694d2290e34efa61a6e4a690621" },
|
||||
"lunar.nvim": { "branch": "master", "commit": "29eedf78c430ad9acebdcba814d77619edbe2bac" },
|
||||
|
@ -45,7 +45,7 @@
|
|||
"nvim-scrollview": { "branch": "main", "commit": "ba6c48bf7919dd48a371e7b9c683b8858053e885" },
|
||||
"nvim-tree.lua": { "branch": "master", "commit": "7282f7de8aedf861fe0162a559fc2b214383c51c" },
|
||||
"nvim-treesitter": { "branch": "master", "commit": "8e763332b7bf7b3a426fd8707b7f5aa85823a5ac" },
|
||||
"nvim-treesitter-textobjects": { "branch": "master", "commit": "2fb97bd6c53d78517d2022a0b84422c18ce5686e" },
|
||||
"nvim-treesitter-textobjects": { "branch": "master", "commit": "df2b2b05705a1cf476a1124e7aadfccddba73ec3" },
|
||||
"nvim-ts-autotag": { "branch": "main", "commit": "fdefe46c6807441460f11f11a167a2baf8e4534b" },
|
||||
"nvim-ts-context-commentstring": { "branch": "main", "commit": "a0f89563ba36b3bacd62cf967b46beb4c2c29e52" },
|
||||
"nvim-ts-rainbow": { "branch": "master", "commit": "ef95c15a935f97c65a80e48e12fe72d49aacf9b9" },
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
return "" -- hapus line ini dan buka remark dibawah (ganti dengan dashboard kalian)
|
||||
local M = {}
|
||||
|
||||
-- return {
|
||||
-- Untuk UBah dashboard buka remark dan ganti sesuai kebutuhan
|
||||
-- M.dashboard = {
|
||||
-- [[ __ ]],
|
||||
-- [[ ___ ___ ___ __ __ /\_\ ___ ___ ]],
|
||||
-- [[ / _ `\ / __`\ / __`\/\ \/\ \\/\ \ / __` __`\ ]],
|
||||
|
@ -8,3 +9,5 @@ return "" -- hapus line ini dan buka remark dibawah (ganti dengan dashboard kali
|
|||
-- [[\ \_\ \_\ \____\ \____/\ \___/ \ \_\ \_\ \_\ \_\]],
|
||||
-- [[ \/_/\/_/\/____/\/___/ \/__/ \/_/\/_/\/_/\/_/]],
|
||||
-- }
|
||||
|
||||
return M
|
||||
|
|
|
@ -14,9 +14,14 @@ local board = {
|
|||
[[|_| |__/ ]],
|
||||
}
|
||||
|
||||
local custom_dasboard = require("custom.dashboard")
|
||||
if custom_dasboard ~= "" then
|
||||
board = custom_dasboard
|
||||
local data_exists, custom_dasboard = pcall(require, "custom.dashboard")
|
||||
if data_exists then
|
||||
if type(custom_dasboard) == "table" then
|
||||
local data_board = custom_dasboard.dashboard
|
||||
if data_board ~= nil then
|
||||
board = data_board
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
local dashboard = require("alpha.themes.dashboard")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue