From c7e0977183e8a9cc613a4df534dfcf82401a1223 Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Wed, 27 May 2020 20:37:15 +0300 Subject: [PATCH] Forcefully set noro for CodeCommCommenting window Because git difftool can invoke vimdiff with forced read-only windows. --- plugin/codecomm.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/codecomm.vim b/plugin/codecomm.vim index e7d1a76..9226b42 100644 --- a/plugin/codecomm.vim +++ b/plugin/codecomm.vim @@ -51,7 +51,7 @@ function! s:CodeComm() range execute cmd endfor " Spawn a new small code commenting window nonbinded to file - new CodeCommCommenting + new +set\ noreadonly CodeCommCommenting setlocal noswapfile setlocal buftype=acwrite call append("^", ready) -- 2.44.0