" Vim filetype plugin file." Language: Lua 4.0+" Maintainer: Max Ischenko <mfi@ukr.net>" Last Change: 2012 Mar 07" 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" Set 'formatoptions' to break comment lines but not other lines, and insert" the comment leader when hitting <CR> or using "o".setlocal fo-=t fo+=croqlsetlocal com=:--setlocal cms=--%ssetlocal suffixesadd=.lua" The following lines enable the macros/matchit.vim plugin for" extended matching with the % key.if exists("loaded_matchit")let b:match_ignorecase = 0let b:match_words =\ '\<\%(do\|function\|if\)\>:' .\ '\<\%(return\|else\|elseif\)\>:' .\ '\<end\>,' .\ '\<repeat\>:\<until\>'endif " exists("loaded_matchit")let &cpo = s:cpo_saveunlet s:cpo_savelet b:undo_ftplugin = "setlocal fo< com< cms< suffixesadd<"
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。