X-Git-Url: http://www.git.stargrave.org/?p=codecomm.git;a=blobdiff_plain;f=plugin%2Fcodecomm.vim;fp=plugin%2Fcodecomm.vim;h=c13f3787fb0eefca3a3b8ba4d9667de6e3127043;hp=00efad25d0c739e6296c3ed315137dd817999bd2;hb=4b76c79f3998ce296ffbeda12edada6dc10cd6f3;hpb=0ae3de5a734e397c70b9c7c8b6098302effd4a0d diff --git a/plugin/codecomm.vim b/plugin/codecomm.vim index 00efad2..c13f378 100644 --- a/plugin/codecomm.vim +++ b/plugin/codecomm.vim @@ -54,7 +54,7 @@ function! s:CodeComm() range endfor " Spawn a new small code commenting window nonbinded to file new CodeCommCommenting - setlocal noreadonly noswapfile buftype=acwrite + setlocal noreadonly noswapfile buftype=acwrite filetype=codecomm call append("^", ready) " Separate codecomm_file consolidating function, called when buffer is saved autocmd! BufWriteCmd CodeCommCommenting @@ -71,9 +71,6 @@ function! s:CodeComm() range echohl MoreMsg | echomsg "Commented:" len(ready) "lines" | echohl None endfunction autocmd BufWriteCmd CodeCommCommenting call s:AppendCC() - " Simple syntax highlighting for that window - syntax region CCBlock start=/^-\{5}#/ end=/^-\+ >8 -\+/ - highlight link CCBlock Statement normal zR startinsert endfunction