mirror of
https://github.com/tpope/vim-fugitive.git
synced 2026-10-04 19:28:58 +08:00
Disable modelines for status buffers
Regression introduced in 8c8cdf4405.
Resolves: https://github.com/tpope/vim-fugitive/issues/2333
This commit is contained in:
1 parent
0444df68cd
commit
1d18c696c4
1 file changed
+1
-1
@@ -3060,7 +3060,7 @@ function! fugitive#BufReadStatus(cmdbang) abort
|
||||
let b:fugitive_loading = stat
|
||||
doautocmd <nomodeline> BufReadPre
|
||||
|
||||
setlocal readonly nomodifiable noswapfile nomodifiable buftype=nowrite
|
||||
setlocal readonly nomodifiable noswapfile nomodeline buftype=nowrite
|
||||
call s:MapStatus()
|
||||
|
||||
call s:StatusRender(stat)
|
||||
|
||||
Reference in new issue
Block a user