mirror of
https://github.com/amix/vimrc
synced 2025-06-16 01:25:00 +08:00
Forgot to check in the rest of the updated plugins :/
This commit is contained in:
@ -689,6 +689,9 @@ augroup fugitive
|
||||
\ if FugitiveIsGitDir(expand('<amatch>:p:h')) |
|
||||
\ let b:git_dir = s:Slash(expand('<amatch>:p:h')) |
|
||||
\ exe fugitive#BufReadStatus(v:cmdbang) |
|
||||
\ echohl WarningMSG |
|
||||
\ echo "fugitive: Direct editing of .git/" . expand('%:t') . " is deprecated" |
|
||||
\ echohl NONE |
|
||||
\ elseif filereadable(expand('<amatch>')) |
|
||||
\ silent doautocmd BufReadPre |
|
||||
\ keepalt noautocmd read <amatch> |
|
||||
|
Reference in New Issue
Block a user