Mercurial > vim
view runtime/compiler/rspec.vim @ 10666:ed6f03535745 v8.0.0223
patch 8.0.0223: Coverity warns for an uninitialized variable
commit https://github.com/vim/vim/commit/fffbf308dd98d1129ba4914d921ab47dc6a6c9b1
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Jan 23 20:47:12 2017 +0100
patch 8.0.0223: Coverity warns for an uninitialized variable
Problem: Coverity gets confused by the flags passed to find_tags() and
warnts for an uninitialized variable.
Solution: Disallow using cscope and help tags at the same time.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Mon, 23 Jan 2017 21:00:04 +0100 |
parents | 43efa4f5a8ea |
children | f0f06837a699 |
line wrap: on
line source
" Vim compiler file " Language: RSpec " 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") finish endif let current_compiler = "rspec" if exists(":CompilerSet") != 2 " older Vim always used :setlocal command -nargs=* CompilerSet setlocal <args> endif let s:cpo_save = &cpo set cpo-=C CompilerSet makeprg=rspec CompilerSet errorformat= \%f:%l:\ %tarning:\ %m, \%E%.%#:in\ `load':\ %f:%l:%m, \%E%f:%l:in\ `%*[^']':\ %m, \%-Z\ \ \ \ \ %\\+\#\ %f:%l:%.%#, \%E\ \ %\\d%\\+)%.%#, \%C\ \ \ \ \ %m, \%C%\\s%#, \%-G%.%# let &cpo = s:cpo_save unlet s:cpo_save " vim: nowrap sw=2 sts=2 ts=8: