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 = "",
icon_hl = "@variable", icon_hl = "@variable",
desc = "Git", desc = "Git DiffView",
group = "Label", group = "Label",
action = "Git", action = "DiffviewOpen",
key = "g", key = "g",
}, },
{ {

View file

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

View file

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