From 8299df966a58236b31c0028fd7ce799c4ac6e625 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 10 Jul 2004 09:47:34 +0000 Subject: updated for version 7.0007 --- runtime/ftplugin/abaqus.vim | 6 +++++- runtime/ftplugin/btm.vim | 12 ++++++++++++ runtime/ftplugin/config.vim | 4 ++-- runtime/ftplugin/dosbatch.vim | 2 +- runtime/ftplugin/html.vim | 4 ++-- runtime/ftplugin/jsp.vim | 4 ++-- runtime/ftplugin/php.vim | 4 ++-- runtime/ftplugin/xhtml.vim | 6 +++--- runtime/ftplugin/xslt.vim | 4 ++-- 9 files changed, 31 insertions(+), 15 deletions(-) create mode 100644 runtime/ftplugin/btm.vim (limited to 'runtime/ftplugin') diff --git a/runtime/ftplugin/abaqus.vim b/runtime/ftplugin/abaqus.vim index f63962f81..17985b332 100644 --- a/runtime/ftplugin/abaqus.vim +++ b/runtime/ftplugin/abaqus.vim @@ -1,7 +1,7 @@ " Vim filetype plugin file " Language: Abaqus finite element input file (www.abaqus.com) " Maintainer: Carl Osterwisch -" Last Change: 2004 May +" Last Change: 2004 Jul 06 " Only do this when not done yet for this buffer if exists("b:did_ftplugin") | finish | endif @@ -27,6 +27,10 @@ setlocal include=\\<\\cINPUT\\s*= " Remove characters up to the first = when evaluating filenames setlocal includeexpr=substitute(v:fname,'.\\{-}=','','') +" Remove comma from valid filename characters since it is used to +" separate keyword parameters +setlocal isfname-=, + " Define format of comment lines (see 'formatoptions' for uses) setlocal comments=:** setlocal commentstring=**%s diff --git a/runtime/ftplugin/btm.vim b/runtime/ftplugin/btm.vim new file mode 100644 index 000000000..d3dc5b75f --- /dev/null +++ b/runtime/ftplugin/btm.vim @@ -0,0 +1,12 @@ +" Vim filetype plugin file +" Language: BTM +" Maintainer: Bram Moolenaar +" Last Change: 2004 Jul 06 + +" Only do this when not done yet for this buffer +if exists("b:did_ftplugin") + finish +endif + +" Behaves just like dosbatch +runtime! ftplugin/dosbatch.vim ftplugin/dosbatch_*.vim ftplugin/dosbatch/*.vim diff --git a/runtime/ftplugin/config.vim b/runtime/ftplugin/config.vim index e4e1a412f..427d0ed70 100644 --- a/runtime/ftplugin/config.vim +++ b/runtime/ftplugin/config.vim @@ -1,7 +1,7 @@ " Vim filetype plugin file " Language: config " Maintainer: Dan Sharp -" Last Changed: 2003 Sep 29 +" Last Changed: 2004 Jul 08 " URL: http://mywebpage.netscape.com/sharppeople/vim/ftplugin if exists("b:did_ftplugin") | finish | endif @@ -30,7 +30,7 @@ endif " Change the :browse e filter to primarily show configure-related files. if has("gui_win32") - let b:browsefilter="Configure Scripts (configure.*)\tconfigure.*\n" . + let b:browsefilter="Configure Scripts (configure.*, config.*)\tconfigure*;config.*\n" . \ s:browsefilter endif diff --git a/runtime/ftplugin/dosbatch.vim b/runtime/ftplugin/dosbatch.vim index 39a83c411..91d57d9ba 100644 --- a/runtime/ftplugin/dosbatch.vim +++ b/runtime/ftplugin/dosbatch.vim @@ -17,5 +17,5 @@ setlocal formatoptions-=t formatoptions+=rol " Define patterns for the browse file filter if has("gui_win32") && !exists("b:browsefilter") - let b:browsefilter = "DOS Batch Files (*.bat, *.cmd)\t*.bat;*.cmd\nAll Files (*.*)\t*.*\n" + let b:browsefilter = "DOS Batch Files (*.bat, *.btm, *.cmd)\t*.bat;*.btm;*.cmd\nAll Files (*.*)\t*.*\n" endif diff --git a/runtime/ftplugin/html.vim b/runtime/ftplugin/html.vim index 7334b1584..80b04cdc3 100644 --- a/runtime/ftplugin/html.vim +++ b/runtime/ftplugin/html.vim @@ -1,7 +1,7 @@ " Vim filetype plugin file " Language: html " Maintainer: Dan Sharp -" Last Changed: 2004 May 11 +" Last Changed: 2004 Jul 08 " URL: http://mywebpage.netscape.com/sharppeople/vim/ftplugin if exists("b:did_ftplugin") | finish | endif @@ -26,7 +26,7 @@ endif " Change the :browse e filter to primarily show HTML-related files. if has("gui_win32") - let b:browsefilter="HTML Files (*.html,*.htm)\t*.htm*\n" . + let b:browsefilter="HTML Files (*.html,*.htm)\t*.htm;*.html\n" . \ "JavaScript Files (*.js)\t*.js\n" . \ "Cascading StyleSheets (*.css)\t*.css\n" . \ "All Files (*.*)\t*.*\n" diff --git a/runtime/ftplugin/jsp.vim b/runtime/ftplugin/jsp.vim index 7c6ac84ef..4968aabd0 100644 --- a/runtime/ftplugin/jsp.vim +++ b/runtime/ftplugin/jsp.vim @@ -1,7 +1,7 @@ " Vim filetype plugin file " Language: jsp " Maintainer: Dan Sharp -" Last Changed: 2003 Sep 29 +" Last Changed: 2004 Jul 08 " URL: http://mywebpage.netscape.com/sharppeople/vim/ftplugin if exists("b:did_ftplugin") | finish | endif @@ -14,7 +14,7 @@ set cpo-=C " Define some defaults in case the included ftplugins don't set them. let s:undo_ftplugin = "" let s:browsefilter = "Java Files (*.java)\t*.java\n" . - \ "HTML Files (*.html, *.htm)\t*.htm*\n" . + \ "HTML Files (*.html, *.htm)\t*.html;*.htm\n" . \ "All Files (*.*)\t*.*\n" let s:match_words = "" diff --git a/runtime/ftplugin/php.vim b/runtime/ftplugin/php.vim index a1c732979..5df787217 100644 --- a/runtime/ftplugin/php.vim +++ b/runtime/ftplugin/php.vim @@ -1,7 +1,7 @@ " Vim filetype plugin file " Language: php " Maintainer: Dan Sharp -" Last Changed: 2003 Sep 29 +" Last Changed: 2004 Jul 08 " URL: http://mywebpage.netscape.com/sharppeople/vim/ftplugin if exists("b:did_ftplugin") | finish | endif @@ -13,7 +13,7 @@ set cpo-=C " Define some defaults in case the included ftplugins don't set them. let s:undo_ftplugin = "" -let s:browsefilter = "HTML Files (*.html, *.htm)\t*.htm*\n" . +let s:browsefilter = "HTML Files (*.html, *.htm)\t*.html;*.htm\n" . \ "All Files (*.*)\t*.*\n" let s:match_words = "" diff --git a/runtime/ftplugin/xhtml.vim b/runtime/ftplugin/xhtml.vim index 8011529c5..e03407be5 100644 --- a/runtime/ftplugin/xhtml.vim +++ b/runtime/ftplugin/xhtml.vim @@ -1,7 +1,7 @@ " Vim filetype plugin file " Language: xhtml " Maintainer: Dan Sharp -" Last Changed: 2004 May 11 +" Last Changed: 2004 Jul 08 " URL: http://mywebpage.netscape.com/sharppeople/vim/ftplugin if exists("b:did_ftplugin") | finish | endif @@ -13,7 +13,7 @@ set cpo-=C " Define some defaults in case the included ftplugins don't set them. let s:undo_ftplugin = "" -let s:browsefilter = "HTML Files (*.html, *.htm)\t*.htm*\n" . +let s:browsefilter = "HTML Files (*.html, *.htm)\t*.html;*.htm\n" . \ "XML Files (*.xml)\t*.xml\n" . \ "All Files (*.*)\t*.*\n" let s:match_words = "" @@ -56,7 +56,7 @@ endif " Change the :browse e filter to primarily show tcsh-related files. if has("gui_win32") - let b:browsefilter=s:browsefilter + let b:browsefilter="XHTML files (*.xhtml, *.xhtm)\t*.xhtml;*.xhtm\n" . s:browsefilter endif " Undo the stuff we changed. diff --git a/runtime/ftplugin/xslt.vim b/runtime/ftplugin/xslt.vim index a4b80a614..958043274 100644 --- a/runtime/ftplugin/xslt.vim +++ b/runtime/ftplugin/xslt.vim @@ -1,7 +1,7 @@ " Vim filetype plugin file " Language: xslt " Maintainer: Dan Sharp -" Last Changed: 2002 Nov 26 +" Last Changed: 2004 Jul 08 " URL: http://mywebpage.netscape.com/sharppeople/vim/ftplugin if exists("b:did_ftplugin") | finish | endif @@ -12,5 +12,5 @@ let b:did_ftplugin = 1 " Change the :browse e filter to primarily show xsd-related files. if has("gui_win32") && exists("b:browsefilter") - let b:browsefilter="XSLT Files (*.xsl,*.xslt)\t*.xsl,*.xslt\n" . b:browsefilter + let b:browsefilter="XSLT Files (*.xsl,*.xslt)\t*.xsl;*.xslt\n" . b:browsefilter endif -- cgit v1.2.1