Updating all files to use stylua

Signed-off-by: Taken <taken@mairimashita.org>
This commit is contained in:
2023-08-31 12:14:37 +02:00
parent 4e07e36ca7
commit 2eaafbc10e
27 changed files with 788 additions and 737 deletions

View File

@@ -1,6 +1,6 @@
local staus, db = pcall(require, "dashboard")
if not staus then
return
return
end
local stats = require("lazy").stats()
@@ -39,44 +39,44 @@ db.setup({
},
center = {
{
icon = '󰍉 ',
icon_hl = 'main',
desc = 'Find files',
desc_hl = 'main',
key = 'f',
key_hl = 'main',
action = 'Telescope find_files',
icon = "󰍉 ",
icon_hl = "main",
desc = "Find files",
desc_hl = "main",
key = "f",
key_hl = "main",
action = "Telescope find_files",
},
{
icon = '',
icon_hl = 'main',
desc = 'Select project',
desc_hl = 'main',
key = 'p',
key_hl = 'main',
action = 'Telescope project',
icon = "",
icon_hl = "main",
desc = "Select project",
desc_hl = "main",
key = "p",
key_hl = "main",
action = "Telescope project",
},
{
icon = '',
icon_hl = 'main',
desc = 'Neorg',
desc_hl = 'main',
key = 'n',
key_hl = 'main',
action = 'Neorg workspace main',
icon = "",
icon_hl = "main",
desc = "Neorg",
desc_hl = "main",
key = "n",
key_hl = "main",
action = "Neorg workspace main",
},
{
icon = '󰚰 ',
icon_hl = 'main',
desc = 'Lazy sync',
desc_hl = 'main',
key = 'l',
key_hl = 'main',
action = 'Lazy sync',
icon = "󰚰 ",
icon_hl = "main",
desc = "Lazy sync",
desc_hl = "main",
key = "l",
key_hl = "main",
action = "Lazy sync",
},
},
footer = {
"" .. version .. " " .. plugins_count .. ' plugins in ' .. ms .. 'ms 󰃭 ' .. date .. '' .. time,
}
}
"" .. version .. " " .. plugins_count .. " plugins in " .. ms .. "ms 󰃭 " .. date .. "" .. time,
},
},
})