neovim/test/functional/fixtures
zeertzjq 356a6728ac
vim-patch:9.0.2037: A few remaining cmdline completion issues with C-E/Y (#25686)
Problem:  A few remaining cmdline completion issues with C-E/Y
Solution: Fix cmdline completion fuzzy/Ctrl-E/Ctrl-Y/options when not
          used at the end

Fix cmdline completion fuzzy/Ctrl-E/Ctrl-Y/options when not used at the end

A few places in the cmdline completion code only works properly when the
user hits Tab (or 'wildchar') at the end of the cmdline, even though
it's supposed to work even in the middle of the line.

For fuzzy search, `:e ++ff`, and `:set hl=`, fix completion code to make
sure to use `xp_pattern_len` instead of assuming the entire `xp_pattern`
is the search pattern (since it contains texts after the cursor).

Fix Ctrl-E / Ctrl-Y to not jump to the end when canceling/accepting a
wildmenu completion. Also, make them work even when not using
`set wildoptions+=pum` as there is no drawback to doing so.
(Related issue where this was brought up: vim/vim#13331)

closes: vim/vim#13362

209ec90b9b

Cherry-pick ex_getln.c changes from patch 9.0.2035.

Co-authored-by: Yee Cheng Chin <ychin.git@gmail.com>
2023-10-17 21:42:34 +08:00
..
autoload refactor: deprecate checkhealth functions 2023-04-15 23:40:48 +02:00
bin
lua refactor: deprecate checkhealth functions 2023-04-15 23:40:48 +02:00
middle fix(runtime): fix ordering of "after" packages 2021-09-30 22:03:18 +02:00
nvim refactor(runtime): handle pack/foo/start/bar/after dirs properly 2021-09-18 13:59:19 +02:00
pack/foo fix(eval): v:lua support for - in module names 2022-01-28 18:20:26 +01:00
start/nvim-leftpad feat(lua): rename vim.loop -> vim.uv (#22846) 2023-06-03 12:06:00 +02:00
wildpum vim-patch:9.0.2037: A few remaining cmdline completion issues with C-E/Y (#25686) 2023-10-17 21:42:34 +08:00
api_level_0.mpack
api_level_1.mpack
api_level_2.mpack
api_level_3.mpack
api_level_4.mpack
api_level_5.mpack
api_level_6.mpack
api_level_7.mpack NVIM v0.5.0 2021-07-02 17:54:29 +02:00
api_level_8.mpack NVIM 0.6.0 2021-11-30 18:20:42 +01:00
api_level_9.mpack NVIM 0.7 2022-04-15 13:38:44 +02:00
api_level_10.mpack NVIM v0.8.0 2022-09-30 17:15:13 +02:00
api_level_11.mpack NVIM v0.9.0 2023-04-07 13:26:29 +02:00
bigfile_oneline.txt
bigfile.txt
CMakeLists.txt build: use modern cmake (#21589) 2023-01-10 18:49:57 +01:00
cmdscript.cmd
fake-lsp-server.lua fix(lsp): handle absence of a trailing newline #25194 2023-09-21 03:06:40 -07:00
filename_with_unicode_ααα fix: find multibyte file name in line (#20519) 2022-10-07 09:43:16 +08:00
non_executable.txt
printargs-test.c
printenv-test.c vim-patch:8.1.0941: macros for MS-Windows are inconsistent (#20215) 2022-09-18 09:17:15 +08:00
shell_data.txt
shell-test.c feat(terminal): TermClose: set exit code in v:event.status #15406 2021-08-20 10:45:28 -07:00
smile2.cat api: allow open non-current buffer as terminal (+ xmas bonus) 2021-03-12 14:44:47 +01:00
startup-fail.lua feat(lua): exit 1 on Lua "-l" script error 2023-01-05 17:10:02 +01:00
startup.lua feat(lua): send "--" literally to Lua "-l" script 2023-01-05 17:10:02 +01:00
streams-test.c fixup! tests: fix system_spec when run with clipboard manager (#10956) 2021-06-05 12:49:26 -04:00
tty-test.c vim-patch:8.1.0941: macros for MS-Windows are inconsistent (#20215) 2022-09-18 09:17:15 +08:00