about summary refs log tree commit diff
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2024-06-02 15:15:49 +0900
committersefidel <contact@sefidel.net>2024-06-02 15:16:18 +0900
commitbd24f4189e5b787990fd713c9f58d90f48fb81a8 (patch)
treeff3c8fd3bf55b8f8e067989aca5064d18041aa42
parentd3beae3318c7e80d2bd522e07bab240460b6f62f (diff)
downloadnvimrc-bd24f4189e5b787990fd713c9f58d90f48fb81a8.tar.gz
nvimrc-bd24f4189e5b787990fd713c9f58d90f48fb81a8.zip
feat(packs): add neogit
-rw-r--r--fnl/nvrc/pack.fnl4
-rw-r--r--fnl/nvrc/packs/neogit.fnl3
-rw-r--r--lazy-lock.json1
3 files changed, 8 insertions, 0 deletions
diff --git a/fnl/nvrc/pack.fnl b/fnl/nvrc/pack.fnl
index e041211..fd89e91 100644
--- a/fnl/nvrc/pack.fnl
+++ b/fnl/nvrc/pack.fnl
@@ -35,6 +35,10 @@
 (pack! :gpanders/editorconfig.nvim)
 (pack! :stefandtw/quickfix-reflector.vim {:ft :qf})
 (pack! :lewis6991/gitsigns.nvim {:init :gitsigns :event :BufReadPost})
+(pack! :NeogitOrg/neogit {:req :neogit
+                          :dependencies [(pack :nvim-lua/plenary.nvim)
+                                         (pack :sindrets/diffview.nvim {:opts {:use_icons false}})]})
+
 (pack! :tpope/vim-fugitive)
 (pack! :tpope/vim-eunuch)
 (pack! :tpope/vim-sleuth)
diff --git a/fnl/nvrc/packs/neogit.fnl b/fnl/nvrc/packs/neogit.fnl
new file mode 100644
index 0000000..6d5a940
--- /dev/null
+++ b/fnl/nvrc/packs/neogit.fnl
@@ -0,0 +1,3 @@
+(local {: setup} (require :neogit))
+
+(setup {:kind :auto :console_timeout 10000})
diff --git a/lazy-lock.json b/lazy-lock.json
index 91b772f..97cf54a 100644
--- a/lazy-lock.json
+++ b/lazy-lock.json
@@ -16,6 +16,7 @@
   "mini.indentscope": { "branch": "main", "commit": "a8274b6ea2d868198d27bd91a31ed5ea3a6a5744" },
   "nvim-autopairs": { "branch": "master", "commit": "14e97371b2aab6ee70054c1070a123dfaa3e217e" },
   "nvim-cmp": { "branch": "main", "commit": "8f3c541407e691af6163e2447f3af1bd6e17f9a3" },
+  "neogit": { "branch": "master", "commit": "49b7f1043ec537007f182313537ac4ceaa08638f" },
   "nvim-colorizer.lua": { "branch": "master", "commit": "85855b38011114929f4058efc97af1059ab3e41d" },
   "nvim-dap": { "branch": "master", "commit": "6ae8a14828b0f3bff1721a35a1dfd604b6a933bb" },
   "nvim-dap-ui": { "branch": "master", "commit": "5934302d63d1ede12c0b22b6f23518bb183fc972" },