aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/autocommands.vim5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/autocommands.vim b/core/autocommands.vim
index 1cc207a..2563ce7 100644
--- a/core/autocommands.vim
+++ b/core/autocommands.vim
@@ -89,4 +89,9 @@ function! s:quit_current_win() abort
quit
endif
endfunction
+
+augroup git_repo_check
+ autocmd!
+ autocmd VimEnter,DirChanged * call utils#Inside_git_repo()
+augroup END
"}