" Vim compiler file" Language: Ruby" Function: Syntax check and/or error reporting" Maintainer: Tim Pope <vimNOSPAM@tpope.org>" URL: https://github.com/vim-ruby/vim-ruby" Release Coordinator: Doug Kearns <dougkearns@gmail.com>" ----------------------------------------------------------------------------if exists("current_compiler")finishendiflet current_compiler = "ruby"if exists(":CompilerSet") != 2 " older Vim always used :setlocalcommand -nargs=* CompilerSet setlocal <args>endiflet s:cpo_save = &cposet cpo-=C" default settings runs script normally" add '-c' switch to run syntax check only:"" CompilerSet makeprg=ruby\ -wc\ $*"" or add '-c' at :make command line:"" :make -c %<CR>"CompilerSet makeprg=ruby\ -w\ $*CompilerSet errorformat=\%+E%f:%l:\ parse\ error,\%W%f:%l:\ warning:\ %m,\%E%f:%l:in\ %*[^:]:\ %m,\%E%f:%l:\ %m,\%-C%\tfrom\ %f:%l:in\ %.%#,\%-Z%\tfrom\ %f:%l,\%-Z%p^,\%-G%.%#let &cpo = s:cpo_saveunlet s:cpo_save" vim: nowrap sw=2 sts=2 ts=8:
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。