" Vim filetype plugin file" Language: MS-DOS .bat files" Maintainer: Mike Williams <mrw@eandem.co.uk>" Last Change: 8th May 2012" Only do this when not done yet for this bufferif exists("b:did_ftplugin")finishendif" Don't load another plugin for this bufferlet b:did_ftplugin = 1let s:cpo_save = &cposet cpo&vim" BAT comment formattingsetlocal comments=b:rem,b:@rem,b:REM,b:@REM,:::setlocal formatoptions-=t formatoptions+=rol" Define patterns for the browse file filterif has("gui_win32") && !exists("b:browsefilter")let b:browsefilter = "DOS Batch Files (*.bat, *.cmd)\t*.bat;*.cmd\nAll Files (*.*)\t*.*\n"endiflet b:undo_ftplugin = "setlocal comments< formatoptions<"\ . "| unlet! b:browsefiler"let &cpo = s:cpo_saveunlet s:cpo_save
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。