diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index 1e9df5a..02cd822 100644 --- a/autoload/fugitive.vim +++ b/autoload/fugitive.vim @@ -1718,7 +1718,7 @@ function! fugitive#BufReadCmd(...) abort if &bufhidden ==# '' setlocal bufhidden=delete endif - let &modifiable = modifiable + let &l:modifiable = modifiable if b:fugitive_type !=# 'blob' setlocal filetype=git foldmethod=syntax nnoremap a :let b:fugitive_display_format += v:count1exe fugitive#BufReadCmd(@%)