From 1b92e0a7dd12e20e97dc089705a5acf11697452b Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Mon, 1 Apr 2013 13:09:19 -0400 Subject: [PATCH] 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. --- plugin/fireplace.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/fireplace.vim b/plugin/fireplace.vim index 1cbaf60..b9bca73 100644 --- a/plugin/fireplace.vim +++ b/plugin/fireplace.vim @@ -798,7 +798,7 @@ function! s:setup_eval() abort endfunction function! s:setup_historical() - set readonly nomodifiable + setlocal readonly nomodifiable nnoremap q :bdelete endfunction