Mercurial > vim
view src/testdir/unix.vim @ 25874:054623fc54c5 v8.2.3471
patch 8.2.3471: crash when using CTRL-T after an empty search pattern
Commit: https://github.com/vim/vim/commit/d8d957de86f218de9124ca1209548f8c6f61b69b
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Oct 4 19:47:35 2021 +0100
patch 8.2.3471: crash when using CTRL-T after an empty search pattern
Problem: Crash when using CTRL-T after an empty search pattern.
Solution: Bail out when there is no previous search pattern. (closes https://github.com/vim/vim/issues/8953)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 04 Oct 2021 21:00:06 +0200 |
parents | bfd636b8e259 |
children | dbec60b8c253 |
line wrap: on
line source
" Settings for test script execution " Always use "sh", don't use the value of "$SHELL". set shell=sh " Only when the +eval feature is present. if 1 " While some tests overwrite $HOME to prevent them from polluting user files, " we need to remember the original value so that we can tell external systems " where to ask about their own user settings. let g:tester_HOME = $HOME endif source setup.vim