Change dashboard git shortcut to use Diffview

This commit is contained in:
Evie Litherland-Smith 2023-03-03 11:30:01 +00:00
parent e9dbe3e282
commit e3085b4aaf
3 changed files with 4 additions and 4 deletions

View file

@ -24,9 +24,9 @@ return {
{
icon = "",
icon_hl = "@variable",
desc = "Git",
desc = "Git DiffView",
group = "Label",
action = "Git",
action = "DiffviewOpen",
key = "g",
},
{

View file

@ -1,6 +1,6 @@
return {
"glepnir/dashboard-nvim",
-- event = "VimEnter",
event = "VimEnter",
cmd = "Dashboard",
dependencies = { "nvim-tree/nvim-web-devicons" },
config = function() require("dashboard").setup(require "config.dashboard") end,

View file

@ -11,6 +11,6 @@ return {
},
config = function()
require("nvim-treesitter.configs").setup(require "config.treesitter")
vim.cmd "TSUpdate"
-- vim.cmd "TSUpdate"
end,
}