diff --git a/.config/nvim/lua/plugins/alpha.lua b/.config/nvim/lua/plugins/alpha.lua index 6e290bd..5bcb479 100644 --- a/.config/nvim/lua/plugins/alpha.lua +++ b/.config/nvim/lua/plugins/alpha.lua @@ -1,38 +1,39 @@ return { - "goolord/alpha-nvim", - event = "VimEnter", + 'goolord/alpha-nvim', + event = 'VimEnter', - config = function() - local alpha = require("alpha") - local dashboard = require("alpha.themes.dashboard") + config = function() + local alpha = require('alpha') + local dashboard = require('alpha.themes.dashboard') - dashboard.section.header.val = { - " @@@@@@@ @@@@@@@@ @@@@@@@ @@@@@@@@ @@@@@@@@ @@@@@@ @@@@@@@ @@@ @@@ @@@@@@@@ @@@@@@@ ", - "@@@@@@@@ @@@@@@@@@@ @@@@@@@@ @@@@@@@@ @@@@@@@@ @@@@@@@@ @@@@@@@ @@@ @@@ @@@@@@@@ @@@@@@@@ ", - "!@@ @@! @@@@ @@! @@@ @@! @@! @@! @@@ @@! @@! @@@ @@! @@! @@@ ", - "!@! !@! @!@!@ !@! @!@ !@! !@! !@! @!@ !@! !@! @!@ !@! !@! @!@ ", - "!@! @!@ @! !@! @!@ !@! @!!!:! @!!!:! @!@!@!@! @!! @!@!@!@! @!!!:! @!@!!@! ", - "!!! !@!!! !!! !@! !!! !!!!!: !!!!!: !!!@!!!! !!! !!!@!!!! !!!!!: !!@!@! ", - ":!! !!:! !!! !!: !!! !!: !!: !!: !!! !!: !!: !!! !!: !!: :!! ", - ":!: :!: !:! :!: !:! :!: :!: :!: !:! :!: :!: !:! :!: :!: !:! ", - " ::: ::: ::::::: :: :::: :: :: :::: :: :: ::: :: :: ::: :: :::: :: ::: ", - " :: :: : : : : : :: : : : :: :: : : : : : : : : : :: :: : : : ", - " ", - } + dashboard.section.header.val = { + ' @@@@@@@ @@@@@@@@ @@@@@@@ @@@@@@@@ @@@@@@@@ @@@@@@ @@@@@@@ @@@ @@@ @@@@@@@@ @@@@@@@ ', + '@@@@@@@@ @@@@@@@@@@ @@@@@@@@ @@@@@@@@ @@@@@@@@ @@@@@@@@ @@@@@@@ @@@ @@@ @@@@@@@@ @@@@@@@@ ', + '!@@ @@! @@@@ @@! @@@ @@! @@! @@! @@@ @@! @@! @@@ @@! @@! @@@ ', + '!@! !@! @!@!@ !@! @!@ !@! !@! !@! @!@ !@! !@! @!@ !@! !@! @!@ ', + '!@! @!@ @! !@! @!@ !@! @!!!:! @!!!:! @!@!@!@! @!! @!@!@!@! @!!!:! @!@!!@! ', + '!!! !@!!! !!! !@! !!! !!!!!: !!!!!: !!!@!!!! !!! !!!@!!!! !!!!!: !!@!@! ', + ':!! !!:! !!! !!: !!! !!: !!: !!: !!! !!: !!: !!! !!: !!: :!! ', + ':!: :!: !:! :!: !:! :!: :!: :!: !:! :!: :!: !:! :!: :!: !:! ', + ' ::: ::: ::::::: :: :::: :: :: :::: :: :: ::: :: :: ::: :: :::: :: ::: ', + ' :: :: : : : : : :: : : : :: :: : : : : : : : : : :: :: : : : ', + ' ', + ' [danesi.dev] ', + } - dashboard.section.buttons.val = { - dashboard.button("n", " > New File", "ene"), - dashboard.button("e", " > Toggle file explorer", "NvimTreeToggle"), - dashboard.button("o", "󰙰 > Recent files", "Telescope oldfiles"), - dashboard.button("f", "󰱼 > Find File", "Telescope find_files"), - dashboard.button("s", " > Find Word", "Telescope live_grep"), - dashboard.button("r", "󰑓 > Open last session", "SessionRestore"), - dashboard.button("R", "󰁯 > Restore a Previous Session", "Telescope session-lens"), - dashboard.button("q", " > Quit NVIM", "qa"), - } + dashboard.section.buttons.val = { + dashboard.button('n', ' > New File', 'ene'), + dashboard.button('e', ' > Toggle file explorer', 'NvimTreeToggle'), + dashboard.button('o', '󰙰 > Recent files', 'Telescope oldfiles'), + dashboard.button('f', '󰱼 > Find File', 'Telescope find_files'), + dashboard.button('s', ' > Find Word', 'Telescope live_grep'), + dashboard.button('r', '󰑓 > Open last session', 'SessionRestore'), + dashboard.button('R', '󰁯 > Restore a Previous Session', 'Telescope session-lens'), + dashboard.button('q', ' > Quit NVIM', 'qa'), + } - alpha.setup(dashboard.opts) + alpha.setup(dashboard.opts) - vim.cmd([[autocmd FileType alpha setlocal nofoldenable]]) - end, + vim.cmd([[autocmd FileType alpha setlocal nofoldenable]]) + end, }