From 5a3203131a682497397bcb1cd8d08c83870c99f4 Mon Sep 17 00:00:00 2001 From: Bobby Bingham Date: Sun, 30 Jan 2022 13:44:10 -0600 Subject: nvim: add neogit --- nvim/.config/nvim/lua/neogit_config.lua | 9 +++++++++ nvim/.config/nvim/lua/plugins.lua | 6 ++++++ 2 files changed, 15 insertions(+) create mode 100644 nvim/.config/nvim/lua/neogit_config.lua (limited to 'nvim/.config') diff --git a/nvim/.config/nvim/lua/neogit_config.lua b/nvim/.config/nvim/lua/neogit_config.lua new file mode 100644 index 0000000..52da8fe --- /dev/null +++ b/nvim/.config/nvim/lua/neogit_config.lua @@ -0,0 +1,9 @@ +require('neogit').setup { + disable_commit_confirmation = true, + signs = { + -- { CLOSED, OPENED } + section = {"▷","▼"}, + item = {"▷","▼"} + } +} + diff --git a/nvim/.config/nvim/lua/plugins.lua b/nvim/.config/nvim/lua/plugins.lua index 818b1d2..2647eb1 100644 --- a/nvim/.config/nvim/lua/plugins.lua +++ b/nvim/.config/nvim/lua/plugins.lua @@ -24,5 +24,11 @@ return require('packer').startup(function() run = ':TSUpdate', config = function() require('treesitter_config') end } + + use { + 'TimUntersberger/neogit', + requires = 'nvim-lua/plenary.nvim', + config = function() require('neogit_config') end + } end) -- cgit v1.2.3