diff options
-rw-r--r-- | nvim/.config/nvim/lua/neogit_config.lua | 9 | ||||
-rw-r--r-- | nvim/.config/nvim/lua/plugins.lua | 6 |
2 files changed, 15 insertions, 0 deletions
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) |