Mercurial > vim
view src/testdir/setup.vim @ 10751:27b42717662b v8.0.0265
patch 8.0.0265: may get ml_get error when :pydo deletes lines
commit https://github.com/vim/vim/commit/a58883b4ea0bbb813fd4dd7eb49dd6f03e3e5387
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jan 29 21:31:09 2017 +0100
patch 8.0.0265: may get ml_get error when :pydo deletes lines
Problem: May get ml_get error when :pydo deletes lines or switches to
another buffer. (Nikolai Pavlov, issue https://github.com/vim/vim/issues/1421)
Solution: Check the buffer and line every time.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 29 Jan 2017 21:45:04 +0100 |
parents | 60a06c331524 |
children | bcab4e804c20 |
line wrap: on
line source
" Common preparations for running tests. " Make sure 'runtimepath' and 'packpath' does not include $HOME. set rtp=$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after if has('packages') let &packpath = &rtp endif " Only when the +eval feature is present. if 1 " Make sure $HOME does not get read or written. let $HOME = '/does/not/exist' endif