cmp-cmdline icon indicating copy to clipboard operation
cmp-cmdline copied to clipboard

Fix wildcard completion

Open rqdmap opened this issue 1 year ago • 1 comments

Fix https://github.com/hrsh7th/cmp-cmdline/issues/91

rqdmap avatar Mar 20 '24 12:03 rqdmap

This fixes wildcard completion and also expansion of % and the like, but it breaks many other usecases. Try completing :echo & or :lua vim.treesitter.get_. It'll drop parts of the command line that shouldn't be dropped.

For an in-depth explanation of what a proper fix might look like, see https://github.com/hrsh7th/cmp-cmdline/pull/83#issuecomment-2323332695

liskin avatar Sep 01 '24 13:09 liskin