diff options
author | Bobby Bingham <koorogi@koorogi.info> | 2022-01-30 13:44:10 -0600 |
---|---|---|
committer | Bobby Bingham <koorogi@koorogi.info> | 2022-01-30 13:45:23 -0600 |
commit | 5a3203131a682497397bcb1cd8d08c83870c99f4 (patch) | |
tree | a62c2fef126f62e4c75bb794e0309bdb86da9783 /nvim/.config/nvim | |
parent | ecc77878606913b0819171740c1d3e125736e4f6 (diff) |
nvim: add neogit
Diffstat (limited to 'nvim/.config/nvim')
-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) |