summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/setup
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/lua/setup')
-rw-r--r--.config/nvim/lua/setup/fugitive.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/.config/nvim/lua/setup/fugitive.lua b/.config/nvim/lua/setup/fugitive.lua
new file mode 100644
index 0000000..b48b4a9
--- /dev/null
+++ b/.config/nvim/lua/setup/fugitive.lua
@@ -0,0 +1,6 @@
+vim.cmd([[
+silent !in-git-repo
+if v:shell_error
+ call FugitiveDetect('~/.cfg')
+endif
+]])