diff options
author | adam <56338480+adastx@users.noreply.github.com> | 2022-10-09 23:45:18 +0200 |
---|---|---|
committer | adam <56338480+adastx@users.noreply.github.com> | 2022-10-09 23:45:18 +0200 |
commit | a514903307a35963ede428b565ea499861839ef1 (patch) | |
tree | 3bf9ed0b4c26c8f91b24617cd40a36c16a865821 /.config/nvim/lua/setup | |
parent | 19a80063e858fdfbafbce24f8e9ea3be044b73f0 (diff) |
nvim: fugitive better git repo detection
Diffstat (limited to '.config/nvim/lua/setup')
-rw-r--r-- | .config/nvim/lua/setup/fugitive.lua | 6 |
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 +]]) |