1
0
forked from aniani/vim

patch 8.2.2057: getting the selection may trigger TextYankPost autocmd

Problem:    Getting the selection may trigger TextYankPost autocmd.
Solution:   Only trigger the autocommand when yanking in Vim, not for getting
            the selection. (closes #7367)
This commit is contained in:
Bram Moolenaar
2020-11-26 20:34:00 +01:00
parent ce7be3a0e6
commit fccbf068f8
5 changed files with 62 additions and 2 deletions

View File

@@ -750,6 +750,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
2057,
/**/
2056,
/**/