Mercurial > vim
comparison runtime/ftplugin/dosbatch.vim @ 2034:7bc41231fbc7
Update runtime files.
author | Bram Moolenaar <bram@zimbu.org> |
---|---|
date | Wed, 06 Jan 2010 20:54:52 +0100 |
parents | 631143ac4a01 |
children | 3482d151136b |
comparison
equal
deleted
inserted
replaced
2033:de5a43c5eedc | 2034:7bc41231fbc7 |
---|---|
1 " Vim filetype plugin file | 1 " Vim filetype plugin file |
2 " Language: MS-DOS .bat files | 2 " Language: MS-DOS .bat files |
3 " Maintainer: Mike Williams <mrw@eandem.co.uk> | 3 " Maintainer: Mike Williams <mrw@eandem.co.uk> |
4 " Last Change: 5th February 2003 | 4 " Last Change: 27th May 2009 |
5 | 5 |
6 " Only do this when not done yet for this buffer | 6 " Only do this when not done yet for this buffer |
7 if exists("b:did_ftplugin") | 7 if exists("b:did_ftplugin") |
8 finish | 8 finish |
9 endif | 9 endif |
10 | 10 |
11 " Don't load another plugin for this buffer | 11 " Don't load another plugin for this buffer |
12 let b:did_ftplugin = 1 | 12 let b:did_ftplugin = 1 |
13 | 13 |
14 " BAT comment formatting | 14 " BAT comment formatting |
15 setlocal comments=b:rem,b:@rem,b:REM,b:@REM,b::: | 15 setlocal comments=b:rem,b:@rem,b:REM,b:@REM,::: |
16 setlocal formatoptions-=t formatoptions+=rol | 16 setlocal formatoptions-=t formatoptions+=rol |
17 | 17 |
18 " Define patterns for the browse file filter | 18 " Define patterns for the browse file filter |
19 if has("gui_win32") && !exists("b:browsefilter") | 19 if has("gui_win32") && !exists("b:browsefilter") |
20 let b:browsefilter = "DOS Batch Files (*.bat, *.btm, *.cmd)\t*.bat;*.btm;*.cmd\nAll Files (*.*)\t*.*\n" | 20 let b:browsefilter = "DOS Batch Files (*.bat, *.cmd)\t*.bat;*.cmd\nAll Files (*.*)\t*.*\n" |
21 endif | 21 endif |