Skip to content

Commit

Permalink
feat(git): add fugit2.nvim
Browse files Browse the repository at this point in the history
  • Loading branch information
mehalter committed Mar 21, 2024
1 parent 18117f7 commit b4fdf14
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
9 changes: 9 additions & 0 deletions lua/astrocommunity/git/fugit2-nvim/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# fugit2.nvim

A porcelain git helper inside Neovim powered by libgit2

Requires:

- [libgit2](https://libgit2.org/) portable git implementation

**Repository:** <https://github.com/SuperBo/fugit2.nvim>
20 changes: 20 additions & 0 deletions lua/astrocommunity/git/fugit2-nvim/init.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
return {
{ import = "astrocommunity.git.diffview-nvim" }, -- optional dependency
{ import = "astrocommunity.git.nvim-tinygit" }, -- optional dependency
{
"SuperBo/fugit2.nvim",
cmd = { "Fugit2", "Fugit2Graph" },
dependencies = {
"MunifTanjim/nui.nvim",
"nvim-tree/nvim-web-devicons",
"nvim-lua/plenary.nvim",
{
"AstroNvim/astrocore",
opts = { mappings = { n = {
["<Leader>gF"] = { "<Cmd>Fugit2<CR>", desc = "Fugit2" },
} } },
},
},
opts = {},
},
}

0 comments on commit b4fdf14

Please sign in to comment.