Mercurial > vim
diff runtime/ftplugin/dosbatch.vim @ 3492:3482d151136b
Updated runtime files.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Wed, 25 Apr 2012 19:07:41 +0200 |
parents | 7bc41231fbc7 |
children | 1be42b88900e |
line wrap: on
line diff
--- a/runtime/ftplugin/dosbatch.vim +++ b/runtime/ftplugin/dosbatch.vim @@ -1,7 +1,7 @@ " Vim filetype plugin file " Language: MS-DOS .bat files " Maintainer: Mike Williams <mrw@eandem.co.uk> -" Last Change: 27th May 2009 +" Last Change: 24th April 2012 " Only do this when not done yet for this buffer if exists("b:did_ftplugin") @@ -19,3 +19,6 @@ setlocal formatoptions-=t formatoptions+ if has("gui_win32") && !exists("b:browsefilter") let b:browsefilter = "DOS Batch Files (*.bat, *.cmd)\t*.bat;*.cmd\nAll Files (*.*)\t*.*\n" endif + +let b:undo_ftplugin = "setlocal comments< formatoptions<" + \ . "| unlet! b:browsefiler"