Mercurial > vim
view runtime/compiler/rspec.vim @ 10934:32b299ae6752 v8.0.0356
patch 8.0.0356: leaking memory when setting 'ttytype'
commit https://github.com/vim/vim/commit/354796c19a0a4a048017059a0281938cc0b8f09a
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Feb 23 17:18:37 2017 +0100
patch 8.0.0356: leaking memory when setting 'ttytype'
Problem: Leaking memory when setting 'ttytype'.
Solution: Get free_oldval from the right option entry.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 23 Feb 2017 17:30:05 +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: