Skip to content

Commit

Permalink
Disable modelines for status buffers
Browse files Browse the repository at this point in the history
Regression introduced in 8c8cdf4.
Resolves: #2333
  • Loading branch information
julio-b authored and tpope committed Sep 2, 2024
1 parent 0444df6 commit 1d18c69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoload/fugitive.vim
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 1d18c69

Please sign in to comment.