From 4886e18d333b0c379635c049d60a558681579e71 Mon Sep 17 00:00:00 2001 From: Tim Blume Date: Fri, 5 Apr 2024 16:03:56 +0200 Subject: [PATCH] add neogit --- lazy-lock.json | 3 +++ lua/plugins/init.lua | 12 ++++++++++++ 2 files changed, 15 insertions(+) diff --git a/lazy-lock.json b/lazy-lock.json index 1468d2f..6d1517c 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -10,12 +10,15 @@ "cmp_luasnip": { "branch": "master", "commit": "05a9ab28b53f71d1aece421ef32fee2cb857a843" }, "conform.nvim": { "branch": "master", "commit": "9d5ba06d6ee7418c674f498634617416d15b6239" }, "copilot.vim": { "branch": "release", "commit": "9484e35cf222e9360e05450622a884f95c662c4c" }, + "diffview.nvim": { "branch": "main", "commit": "3dc498c9777fe79156f3d32dddd483b8b3dbd95f" }, "friendly-snippets": { "branch": "main", "commit": "ea068f1becd91bcd4591fceb6420d4335e2e14d3" }, + "fzf-lua": { "branch": "main", "commit": "f60769d26cf7ebf6156eda992b22f7ba93f3e5bf" }, "gitsigns.nvim": { "branch": "main", "commit": "4a1bc2ef16d495150897b1d3a11eb3d3eecfef0a" }, "indent-blankline.nvim": { "branch": "master", "commit": "3d08501caef2329aba5121b753e903904088f7e6" }, "lazy.nvim": { "branch": "main", "commit": "bef521ac89c8d423f9d092e37b58e8af0c099309" }, "mason.nvim": { "branch": "main", "commit": "751b1fcbf3d3b783fcf8d48865264a9bcd8f9b10" }, "neodev.nvim": { "branch": "main", "commit": "ce9a2e8eaba5649b553529c5498acb43a6c317cd" }, + "neogit": { "branch": "master", "commit": "c0b1d4dfc8ba6371857868ca7c4d33954cf002fd" }, "nvim-autopairs": { "branch": "master", "commit": "dbfc1c34bed415906395db8303c71039b3a3ffb4" }, "nvim-cmp": { "branch": "main", "commit": "ce16de5665c766f39c271705b17fff06f7bcb84f" }, "nvim-colorizer.lua": { "branch": "master", "commit": "85855b38011114929f4058efc97af1059ab3e41d" }, diff --git a/lua/plugins/init.lua b/lua/plugins/init.lua index 87562b4..9fa8274 100644 --- a/lua/plugins/init.lua +++ b/lua/plugins/init.lua @@ -15,6 +15,18 @@ return { vim.api.nvim_set_keymap("i", "", 'copilot#Accept("")', {silent = true, expr = true}) end, }, + { + "NeogitOrg/neogit", + dependencies = { + "nvim-lua/plenary.nvim", -- required + "sindrets/diffview.nvim", -- optional - Diff integration + + -- Only one of these is needed, not both. + "nvim-telescope/telescope.nvim", -- optional + "ibhagwan/fzf-lua", -- optional + }, + config = true + }, { "neovim/nvim-lspconfig", config = function()