summaryrefslogtreecommitdiffstats
path: root/runtime/ftplugin/dosbatch.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2012-04-25 19:07:41 +0200
committerBram Moolenaar <Bram@vim.org>2012-04-25 19:07:41 +0200
commitd38b055ab81f194d50790b21c627beed62983d46 (patch)
treefdb2929bf26b347a67e07868234c7c32e44f2405 /runtime/ftplugin/dosbatch.vim
parent7f51a82c1b340c0442690ab2d4408d74c97d696a (diff)
Updated runtime files.
Diffstat (limited to 'runtime/ftplugin/dosbatch.vim')
-rw-r--r--runtime/ftplugin/dosbatch.vim5
1 files changed, 4 insertions, 1 deletions
diff --git a/runtime/ftplugin/dosbatch.vim b/runtime/ftplugin/dosbatch.vim
index 6e581e7e0f..7662896c4f 100644
--- 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+=rol
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"