From 7c299c86bbac76ec2ac199d68eb4dda093a64e3a Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Tue, 23 Jun 2026 12:01:35 -0700 Subject: Including vimsyntax plugin. --- extra/vim/ftplugin/crimtag.vim | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 extra/vim/ftplugin/crimtag.vim (limited to 'extra/vim/ftplugin') diff --git a/extra/vim/ftplugin/crimtag.vim b/extra/vim/ftplugin/crimtag.vim new file mode 100644 index 0000000..56571e1 --- /dev/null +++ b/extra/vim/ftplugin/crimtag.vim @@ -0,0 +1,24 @@ +" Vim filetype plugin file +" Language: Crimtag + +" Only do this when not done yet for this buffer +if exists("b:did_ftplugin") + finish +endif + +" Don't load another plugin for this buffer +let b:did_ftplugin = 1 + +" Set format options -- allow comment formatting with gq, but disable +" other processing +setlocal fo-=tcrowan2 fo+=q + +" Set 'comments' to be the same as C/C++ +" setlocal comments=sO:*\ -,mO:*\ \ ,exO:*/,s1:/*,mb:*,ex:*/,:// + +" Win32 can filter files in the browse dialog +if has("gui_win32") && !exists("b:browsefilter") + let b:browsefilter = "Crimtag files (*.crim)\t*.crim\n" . + \ "All Files (*.*)\t*.*\n" +endif + -- cgit v1.2.3