1
0
forked from aniani/vim
Files
vim/runtime
glepnir a2c5559f29 patch 9.1.1160: Ctrl-Y does not work well with "preinsert" when completing items
Problem:  The 'preinsert' feature requires Ctrl-Y to confirm insertion,
          but Ctrl-Y only works when the popup menu (pum) is displayed.
          Without enforcing this dependency, it could lead to confusing
          behavior or non-functional features.

Solution: Modify ins_compl_has_preinsert() to check for both 'menu' and
          'menuone' flags when 'preinsert' is set. Update documentation
          to clarify this requirement. This avoids adding complex
          conditional behaviors. (glepnir)

fixes: #16728
closes: #16753

Signed-off-by: glepnir <glephunter@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2025-02-28 17:43:42 +01:00
..
2004-07-10 09:47:34 +00:00
2022-07-01 18:45:04 +01:00
2004-06-13 20:20:40 +00:00
2022-06-25 18:01:32 +01:00
2006-05-03 21:26:49 +00:00
2022-06-25 18:01:32 +01:00
2004-06-13 14:44:53 +00:00
2013-11-03 21:14:31 +01:00
2004-06-13 20:20:40 +00:00