From c9925dd2bc26ad9b7f1395a8c1ddfb2786276ae6 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Wed, 13 Feb 2008 00:20:34 +0000 Subject: Added the support tree and the new taf vim hilighter. --- support/vim/ftplugin/taf.vim | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 support/vim/ftplugin/taf.vim (limited to 'support/vim/ftplugin') diff --git a/support/vim/ftplugin/taf.vim b/support/vim/ftplugin/taf.vim new file mode 100644 index 0000000..7b774cc --- /dev/null +++ b/support/vim/ftplugin/taf.vim @@ -0,0 +1,23 @@ +" Vim filetype plugin file +" Language: Taf + +" 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 = "Textual Archive Format (*.taf)\t*.taf\n" . + \ "All Files (*.*)\t*.*\n" +endif -- cgit v1.2.3