mirror of
https://github.com/tpope/vim-fugitive.git
synced 2026-10-03 00:43:53 +08:00
Further decouple #BufReadStatus() from v:cmdbang
This commit is contained in:
1 parent
0615cd2baf
commit
88c7f867cf
2 files changed
+4
-4
No files matched your search
+1
-1
@@ -628,7 +628,7 @@ augroup fugitive
|
||||
autocmd BufReadCmd index{,.lock}
|
||||
\ if FugitiveIsGitDir(expand('<amatch>:p:h')) |
|
||||
\ let b:git_dir = s:Slash(expand('<amatch>:p:h')) |
|
||||
\ exe fugitive#BufReadStatus() |
|
||||
\ exe fugitive#BufReadStatus(v:cmdbang) |
|
||||
\ elseif filereadable(expand('<amatch>')) |
|
||||
\ silent doautocmd BufReadPre |
|
||||
\ keepalt read <amatch> |
|
||||
|
||||
Reference in new issue
Block a user