]> Sergey Matveev's repositories - codecomm.git/blobdiff - plugin/codecomm.vim
Add modeline with a filetype
[codecomm.git] / plugin / codecomm.vim
index c13f3787fb0eefca3a3b8ba4d9667de6e3127043..27bd890d4be5020c83b604e16a35ccec9d81bcc3 100644 (file)
@@ -60,7 +60,7 @@ function! s:CodeComm() range
     autocmd! BufWriteCmd CodeCommCommenting
     function! s:AppendCC()
         " Collect already written comments from file if it exists
-        let ccprev = []
+        let ccprev = [" vim: filetype=codecomm", ""]
         if filereadable(g:codecomm_file)
             let ccprev = readfile(g:codecomm_file)
         endif