dashboard yay
This commit is contained in:
parent
fcd370fa7e
commit
bdee9169cf
|
@ -5,11 +5,54 @@ local M = {}
|
|||
local highlights = require "custom.highlights"
|
||||
|
||||
M.ui = {
|
||||
theme = "kanagawa",
|
||||
theme_toggle = { "kanagawa", "one_light" },
|
||||
theme = "chadracula",
|
||||
theme_toggle = { "kanagawa", "chadracula" },
|
||||
|
||||
hl_override = highlights.override,
|
||||
hl_add = highlights.add,
|
||||
lsp_semantic_tokens = true,
|
||||
statusline = {
|
||||
theme = "default", -- default/vscode/vscode_colored/minimal
|
||||
-- default/round/block/arrow separators work only for default statusline theme
|
||||
-- round and block will work for minimal theme only
|
||||
separator_style = "default",
|
||||
overriden_modules = nil,
|
||||
},
|
||||
-- lazyload it when there are 1+ buffers
|
||||
tabufline = {
|
||||
show_numbers = true,
|
||||
enabled = true,
|
||||
lazyload = true,
|
||||
overriden_modules = nil,
|
||||
},
|
||||
-- nvdash (dashboard)
|
||||
nvdash = {
|
||||
load_on_startup = true,
|
||||
header = {
|
||||
" ",
|
||||
" █ ████████ █████ ███████ ████ ",
|
||||
" ███ ██████ █████ █████████ ██████ ",
|
||||
" █████ ██████████████████████ ████ ███████████████ ",
|
||||
" ██ ██ █████ █████████████ ████ ████████████████ ",
|
||||
" ████ ███████████████ █████████ ████ █████ ██████ ████ ",
|
||||
" ██████ ██████ ███ █████████ ████ █████ █████ ████ ",
|
||||
"████████ ███████████████████ ████ ████ █████ ████ ████",
|
||||
" ",
|
||||
" 🛠️ Sharp tools make good work 🖥️ ",
|
||||
},
|
||||
|
||||
buttons = {
|
||||
{ " Find File", ";ff", "Telescope find_files" },
|
||||
{ " Recent Files", ";fo", "Telescope oldfiles" },
|
||||
{ " Find Word", ";fw", "Telescope live_grep" },
|
||||
{ " Bookmarks", ";fm", "Telescope marks" },
|
||||
{ " Themes", ";th", "Telescope themes" },
|
||||
{ " Mappings", "<space>ch", "NvCheatsheet" },
|
||||
{ " Git", "<space>gg", "LazyGit" },
|
||||
{ " Files", "<F5>", "NvimTreeToggle" },
|
||||
{ " Terminal", "<A-i>", "ToggleTerm direction=float" },
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
M.plugins = "custom.plugins"
|
||||
|
|
|
@ -25,13 +25,13 @@ M.disabled = {
|
|||
["<leader>fa"] = "",
|
||||
["<leader>fw"] = "",
|
||||
["<leader>fb"] = "",
|
||||
["<leader>th"] = "",
|
||||
["<leader>fh"] = "",
|
||||
["<leader>fo"] = "",
|
||||
["<leader>fz"] = "",
|
||||
["<leader>cm"] = "",
|
||||
["<leader>gt"] = "",
|
||||
["<leader>pt"] = "",
|
||||
["<leader>th"] = "",
|
||||
["<leader>ma"] = "",
|
||||
["<leader>v"] = "",
|
||||
["<leader>rh"] = "",
|
||||
|
|
|
@ -5,7 +5,7 @@ local function get_header()
|
|||
return {
|
||||
-- The following is a customized version!
|
||||
[[ ]],
|
||||
[[ ]],
|
||||
[[ ]],
|
||||
[[ █ ████████ █████ ███████ ████ ]],
|
||||
[[ ███ ██████ █████ █████████ ██████ ]],
|
||||
[[ █████ ██████████████████████ ████ ███████████████ ]],
|
||||
|
@ -347,6 +347,7 @@ local plugins = {
|
|||
},
|
||||
{
|
||||
"goolord/alpha-nvim",
|
||||
enabled = false,
|
||||
lazy = false,
|
||||
dependencies = { "nvim-tree/nvim-web-devicons" },
|
||||
config = function()
|
||||
|
@ -568,14 +569,12 @@ local plugins = {
|
|||
local nls = require "null-ls"
|
||||
local builtins = nls.builtins
|
||||
local sources = {
|
||||
builtins.formatting.stylua,
|
||||
builtins.formatting.black,
|
||||
builtins.formatting.fixjson,
|
||||
builtins.formatting.golines,
|
||||
builtins.formatting.markdownlint,
|
||||
builtins.formatting.shellharden,
|
||||
builtins.formatting.sql_formatter,
|
||||
builtins.formatting.taplo,
|
||||
builtins.diagnostics.markdownlint,
|
||||
builtins.diagnostics.mypy,
|
||||
builtins.diagnostics.vint,
|
||||
|
|
Loading…
Reference in New Issue