Mercurial > vim
view src/testdir/test_comparators.vim @ 29473:1c688281673d v9.0.0078
patch 9.0.0078: star register is unexpectedly changed when deleting
Commit: https://github.com/vim/vim/commit/559f230fd618e51d7986d87217ff38a2eac73cef
Author: Ernie Rael <errael@raelity.com>
Date: Tue Jul 26 14:44:36 2022 +0100
patch 9.0.0078: star register is unexpectedly changed when deleting
Problem: Star register is changed when deleting and both "unnamed" and
"unnamedplus" are in 'clipboard'.
Solution: Make the use of the star register work as documented. (Ernie Rael,
closes #10669)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 26 Jul 2022 15:45:03 +0200 |
parents | 08940efa6b4e |
children |
line wrap: on
line source
" Test for comparators function Test_Comparators() try let oldisident=&isident set isident+=# call assert_equal(1, 1 is#1) finally let &isident=oldisident endtry endfunction " vim: shiftwidth=2 sts=2 expandtab