X-Git-Url: http://www.git.stargrave.org/?p=codecomm.git;a=blobdiff_plain;f=plugin%2Fcodecomm.vim;fp=plugin%2Fcodecomm.vim;h=a2fde108a428c48bdefb5d7be0f371f1834a167a;hp=9226b4239e57ad15f64cef2f2451e54feb8d997c;hb=4587ba9741ba217f71e608801abd34d9bc317d8e;hpb=c7e0977183e8a9cc613a4df534dfcf82401a1223 diff --git a/plugin/codecomm.vim b/plugin/codecomm.vim index 9226b42..a2fde10 100644 --- a/plugin/codecomm.vim +++ b/plugin/codecomm.vim @@ -51,9 +51,8 @@ function! s:CodeComm() range execute cmd endfor " Spawn a new small code commenting window nonbinded to file - new +set\ noreadonly CodeCommCommenting - setlocal noswapfile - setlocal buftype=acwrite + new CodeCommCommenting + setlocal noreadonly noswapfile buftype=acwrite call append("^", ready) " Separate codecomm_file consolidating function, called when buffer is saved autocmd! BufWriteCmd CodeCommCommenting