about summary refs log tree commit diff
path: root/fnl
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 /fnl
parentd3beae3318c7e80d2bd522e07bab240460b6f62f (diff)
downloadnvimrc-bd24f4189e5b787990fd713c9f58d90f48fb81a8.tar.gz
nvimrc-bd24f4189e5b787990fd713c9f58d90f48fb81a8.zip
feat(packs): add neogit
Diffstat (limited to 'fnl')
-rw-r--r--fnl/nvrc/pack.fnl4
-rw-r--r--fnl/nvrc/packs/neogit.fnl3
2 files changed, 7 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})