Skip to content

Commit

Permalink
Merge pull request #99 from benoit-pierre/fix_ro_error
Browse files Browse the repository at this point in the history
fix error when vim is in read-only mode
  • Loading branch information
jlanzarotta authored Jan 28, 2022
2 parents 4d46f80 + 2d9df65 commit b5c9014
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugin/bufexplorer.vim
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,7 @@ function! s:DisplayBufferList()
" the buffer using CTRL-^.
setlocal buftype=nofile
setlocal modifiable
setlocal noreadonly
setlocal noswapfile
setlocal nowrap

Expand Down

0 comments on commit b5c9014

Please sign in to comment.