comparison runtime/ftplugin/dosbatch.vim @ 16380:5ad204d8a2f2

Update runtime files commit https://github.com/vim/vim/commit/911ead126903aeb9564bad89e46a147ed4959896 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Apr 21 00:03:35 2019 +0200 Update runtime files
author Bram Moolenaar <Bram@vim.org>
date Sun, 21 Apr 2019 00:15:06 +0200
parents 1b584a6f446c
children 2334bf788e8a
comparison
equal deleted inserted replaced
16379:c15f3b4daf0e 16380:5ad204d8a2f2
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: 8th May 2012 4 " Last Change: 14th April 2019
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
14 let s:cpo_save = &cpo 14 let s:cpo_save = &cpo
15 set cpo&vim 15 set cpo&vim
16 16
17 " BAT comment formatting 17 " BAT comment formatting
18 setlocal comments=b:rem,b:@rem,b:REM,b:@REM,::: 18 setlocal comments=b:rem,b:@rem,b:REM,b:@REM,:::
19 setlocal commentstring=::\ %s
19 setlocal formatoptions-=t formatoptions+=rol 20 setlocal formatoptions-=t formatoptions+=rol
20 21
21 " Define patterns for the browse file filter 22 " Define patterns for the browse file filter
22 if has("gui_win32") && !exists("b:browsefilter") 23 if has("gui_win32") && !exists("b:browsefilter")
23 let b:browsefilter = "DOS Batch Files (*.bat, *.cmd)\t*.bat;*.cmd\nAll Files (*.*)\t*.*\n" 24 let b:browsefilter = "DOS Batch Files (*.bat, *.cmd)\t*.bat;*.cmd\nAll Files (*.*)\t*.*\n"