Skip to content

Commit

Permalink
fix(alpha): alpha changes coz some elements went out of screen
Browse files Browse the repository at this point in the history
  • Loading branch information
daUnknownCoder committed Jan 24, 2024
1 parent 9eb4da0 commit 1ac1726
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions lua/NeutronVim/plugins/UI/alpha.lua
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,8 @@ return {
dashboard.button("n", icons.ui.Project .. " File Manager [Nvim-Tree]", ":NvimTreeFindFileToggle <CR>"),
dashboard.button("N", icons.ui.NewFile .. " New file", ":ene <BAR> startinsert <CR>"),
dashboard.button("g", icons.kind.Text .. " Find text", ":Telescope live_grep <CR>"),
dashboard.button("l", icons.ui.Sleep .. " Lazy", ":Lazy<CR>"),
dashboard.button("L", icons.git.Branch .. " LazyGit", ":LazyGit<CR>"),
dashboard.button("q", icons.ui.SignIn .. " Quit", ":qa<CR>"),
dashboard.button("l", icons.ui.Sleep .. " Lazy", ":Lazy <CR>"),
dashboard.button("q", icons.ui.SignIn .. " Quit", ":qa <CR>"),
}
for _, button in ipairs(dashboard.section.buttons.val) do
button.opts.hl = "AlphaButtons"
Expand Down Expand Up @@ -78,7 +77,14 @@ return {
.. vim.version().minor
.. "."
.. vim.version().patch
local plugins = "NeutronVim has loaded " .. stats.count .. " plugins in " .. icons.ui.Electric .. ms .. "ms"
local plugins = "NeutronVim has loaded "
.. stats.loaded
.. "/"
.. stats.count
.. " plugins in "
.. icons.ui.Electric
.. ms
.. "ms"
local footer = version .. " -> " .. plugins
dashboard.section.footer.val = footer
pcall(vim.cmd.AlphaRedraw)
Expand Down

0 comments on commit 1ac1726

Please sign in to comment.