1" Vim filetype plugin file
2" Language:    MS-DOS .bat files
3" Maintainer:  Mike Williams <[email protected]>
4" Last Change: 5th February 2003
5
6" Only do this when not done yet for this buffer
7if exists("b:did_ftplugin")
8  finish
9endif
10
11" Don't load another plugin for this buffer
12let b:did_ftplugin = 1
13
14" BAT comment formatting
15setlocal comments=b:rem,b:@rem,b:REM,b:@REM,b:::
16setlocal formatoptions-=t formatoptions+=rol
17
18" Define patterns for the browse file filter
19if has("gui_win32") && !exists("b:browsefilter")
20  let b:browsefilter = "DOS Batch Files (*.bat, *.btm, *.cmd)\t*.bat;*.btm;*.cmd\nAll Files (*.*)\t*.*\n"
21endif
22