]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.0.1718: dict-completion does not respect region v9.0.1718
authorLemonBoy <thatlemon@gmail.com>
Tue, 15 Aug 2023 21:07:55 +0000 (23:07 +0200)
committerChristian Brabandt <cb@256bit.org>
Tue, 15 Aug 2023 21:14:30 +0000 (23:14 +0200)
commite98fb643ec5f84f9088c8b1434a0bd6ff988dc2d
treea1652a573b74a2c75e5c4d623f95cbe047e9f3ab
parent636d32b327309f453e5cdfe75bbe7ad14550093a
patch 9.0.1718: dict-completion does not respect region

Problem: dict-completion does not respect region
Solution: respect selected region in dict completion

Set do_region to zero as we don't want a complete dump of the matching
words, we want the code to filter them according to the user's selected
region.

closes: #12792
closes: #7025

Signed-off-by: Christian Brabandt <cb@256bit.org>
Co-authored-by: LemonBoy <thatlemon@gmail.com>
src/spell.c
src/testdir/test_spell.vim
src/version.c