Fix global setting of 'nomodifiable'

It doesn't make sense that we have to do this, as 'nomodifiable' is
documented as being buffer local.

Closes #58.
This commit is contained in:
Tim Pope 2013-04-01 13:09:19 -04:00
parent db27257f7f
commit 1b92e0a7dd

View File

@ -798,7 +798,7 @@ function! s:setup_eval() abort
endfunction
function! s:setup_historical()
set readonly nomodifiable
setlocal readonly nomodifiable
nnoremap <buffer><silent>q :bdelete<CR>
endfunction