From ed4e098bc2052fd305cb8517ab5c094c66f00657 Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Thu, 28 May 2020 10:34:51 +0300 Subject: [PATCH] Add modeline with a filetype --- doc/codecomm.txt | 2 +- plugin/codecomm.vim | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/codecomm.txt b/doc/codecomm.txt index 0885e6b..3817355 100644 --- a/doc/codecomm.txt +++ b/doc/codecomm.txt @@ -64,4 +64,4 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . - vim:filetype=help + vim: filetype=help diff --git a/plugin/codecomm.vim b/plugin/codecomm.vim index c13f378..27bd890 100644 --- a/plugin/codecomm.vim +++ b/plugin/codecomm.vim @@ -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 -- 2.44.0