diff --git a/lua/plugins/alpha.lua b/lua/plugins/alpha.lua index 4de8e5b..83e5c3b 100644 --- a/lua/plugins/alpha.lua +++ b/lua/plugins/alpha.lua @@ -14,14 +14,14 @@ return { dashboard.section.header.val = vim.split(logo, "\n") dashboard.section.buttons.val = { - dashboard.button("f", " " .. " Find file", ":Telescope find_files "), - dashboard.button("e", " " .. " Edit new file", ":ene startinsert "), - dashboard.button("r", " " .. " Recent files", ":Telescope oldfiles "), - dashboard.button("n", "󱏒 " .. " Neotree", ":Neotree left "), - dashboard.button("g", "󰊢 " .. " Git status", ":Neogit "), - dashboard.button("c", " " .. " Config", ":e $MYVIMRC "), - dashboard.button("l", "󰒲 " .. " Lazy", ":Lazy"), - dashboard.button("q", " " .. " Quit", ":qa"), + dashboard.button("f", " " .. " Find file", "Telescope find_files "), + dashboard.button("e", " " .. " Edit new file", "ene startinsert "), + dashboard.button("r", " " .. " Recent files", "Telescope oldfiles "), + dashboard.button("n", "󱏒 " .. " Neotree", "Neotree left "), + dashboard.button("g", "󰊢 " .. " Git status", "Neogit "), + dashboard.button("c", " " .. " Config", "e $MYVIMRC "), + dashboard.button("l", "󰒲 " .. " Lazy", "Lazy"), + dashboard.button("q", " " .. " Quit", "qa"), } for _, button in ipairs(dashboard.section.buttons.val) do button.opts.hl = "AlphaButtons" diff --git a/lua/plugins/lspconfig.lua b/lua/plugins/lspconfig.lua index 10ef233..69298c5 100644 --- a/lua/plugins/lspconfig.lua +++ b/lua/plugins/lspconfig.lua @@ -1,6 +1,6 @@ return { "neovim/nvim-lspconfig", - event = { "BufReadPre", "BufNewFile" }, + event = { "BufReadPre", "BufNewFile", "CmdlineEnter" }, dependencies = { { "hrsh7th/cmp-nvim-lsp", dependencies = { "hrsh7th/nvim-cmp" } }, { "hrsh7th/cmp-buffer", dependencies = { "hrsh7th/nvim-cmp" } },