Install vim73
[msysgit/mtrensch.git] / share / vim / vim73 / ftplugin / dosbatch.vim
blob6e581e7e0f9fa730f348e2c13086f8f1e4e92665
1 " Vim filetype plugin file
2 " Language:    MS-DOS .bat files
3 " Maintainer:  Mike Williams <mrw@eandem.co.uk>
4 " Last Change: 27th May 2009
6 " Only do this when not done yet for this buffer
7 if exists("b:did_ftplugin")
8   finish
9 endif
11 " Don't load another plugin for this buffer
12 let b:did_ftplugin = 1
14 " BAT comment formatting
15 setlocal comments=b:rem,b:@rem,b:REM,b:@REM,:::
16 setlocal formatoptions-=t formatoptions+=rol
18 " Define patterns for the browse file filter
19 if has("gui_win32") && !exists("b:browsefilter")
20   let b:browsefilter = "DOS Batch Files (*.bat, *.cmd)\t*.bat;*.cmd\nAll Files (*.*)\t*.*\n"
21 endif