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:
parent
db27257f7f
commit
1b92e0a7dd
@ -798,7 +798,7 @@ function! s:setup_eval() abort
|
|||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! s:setup_historical()
|
function! s:setup_historical()
|
||||||
set readonly nomodifiable
|
setlocal readonly nomodifiable
|
||||||
nnoremap <buffer><silent>q :bdelete<CR>
|
nnoremap <buffer><silent>q :bdelete<CR>
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user