mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-11 12:53:52 -05:00
@@ -2180,7 +2180,7 @@ augroup fugitive_files
|
|||||||
autocmd BufReadCmd index{,.lock}
|
autocmd BufReadCmd index{,.lock}
|
||||||
\ if fugitive#is_git_dir(expand('<amatch>:p:h')) |
|
\ if fugitive#is_git_dir(expand('<amatch>:p:h')) |
|
||||||
\ exe s:BufReadIndex() |
|
\ exe s:BufReadIndex() |
|
||||||
\ else |
|
\ elseif filereadable(expand('<amatch>')) |
|
||||||
\ read <amatch> |
|
\ read <amatch> |
|
||||||
\ 1delete |
|
\ 1delete |
|
||||||
\ endif
|
\ endif
|
||||||
|
|||||||
Reference in New Issue
Block a user