aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/treesitter/dev.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-10-17 21:42:34 +0800
committerGitHub <noreply@github.com>2023-10-17 21:42:34 +0800
commit356a6728ac077fa7ec4f6fbc51eda33e025d86e0 (patch)
tree1666a37840228a5370815e4d25f137105ba5f4af /runtime/lua/vim/treesitter/dev.lua
parentc9963e2212bda7a4d2186469ad07078d348353cf (diff)
downloadrneovim-356a6728ac077fa7ec4f6fbc51eda33e025d86e0.tar.gz
rneovim-356a6728ac077fa7ec4f6fbc51eda33e025d86e0.tar.bz2
rneovim-356a6728ac077fa7ec4f6fbc51eda33e025d86e0.zip
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 https://github.com/vim/vim/commit/209ec90b9b9bd948d76511c9cd2b17f47a97afe6 Cherry-pick ex_getln.c changes from patch 9.0.2035. Co-authored-by: Yee Cheng Chin <ychin.git@gmail.com>
Diffstat (limited to 'runtime/lua/vim/treesitter/dev.lua')
0 files changed, 0 insertions, 0 deletions