Explorar o código

fix error when vim is in read-only mode

Benoit Pierre %!s(int64=4) %!d(string=hai) anos
pai
achega
2d9df65b51
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      plugin/bufexplorer.vim

+ 1 - 0
plugin/bufexplorer.vim

@@ -475,6 +475,7 @@ function! s:DisplayBufferList()
     " the buffer using CTRL-^.
     setlocal buftype=nofile
     setlocal modifiable
+    setlocal noreadonly
     setlocal noswapfile
     setlocal nowrap