Open iteratee opened 1 year ago
My solution may not be ideal. I would be happy to re-write it given some pointers. I'm new to lua and vim plugins.
any plans on merging this? this problem is been a pain for a while @hrsh7th
please :(
I'll try and rebase my current solution and push it up.
I am installing from this PR using the commit hash, but it would be nice to have this merged.
In visual mode, completion doesn't keep track of typed chars, so generates wierdy items. Fixed and rebased in iteratee/cmp-cmdline#1 in case that takes some time to get merged, you can install from that PR instead
The current behavior if you try to complete :e %:p:h or something similar replaces only the h with the path, which isn't the desired behavior, because then nvim tries to open the wrong filename. Detect this case and produce edits that will replace the entire
%
chain with modifiers.