]> Sergey Matveev's repositories - codecomm.git/blobdiff - plugin/codecomm.vim
Forcefully set noro for CodeCommCommenting window
[codecomm.git] / plugin / codecomm.vim
index e7d1a762ed2bd6daf2edf40fddb6d3e1f5435a06..9226b4239e57ad15f64cef2f2451e54feb8d997c 100644 (file)
@@ -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)