]> git.ipfire.org Git - thirdparty/vim.git/commit
runtime(doc): Update doc 52.6
authorJim Zhou <jimzhouzzy@gmail.com>
Wed, 12 Mar 2025 19:57:24 +0000 (20:57 +0100)
committerChristian Brabandt <cb@256bit.org>
Wed, 12 Mar 2025 19:57:24 +0000 (20:57 +0100)
commit7db96134c2bfb404f7fdbc3b1ce5e4e62b194f72
tree8a6db00a071f379ace3c78092d0924f17ace8513
parent23473303b78d598a0f3c2f9370e011045093d3bd
runtime(doc): Update doc 52.6

Problem: the highlight-yank plugin exmaple provided in the doc behaves
 incorrectly when selection is set to exclusive.

Solution: use a unified offset of 1 and pass 'exclusive: false' to
  getregionpos(), while at it, also clarify when the
          TextYankPost autocommand triggers.

closes: #16866

Signed-off-by: Jim Zhou <jimzhouzzy@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/doc/autocmd.txt
runtime/doc/usr_52.txt