Closed Julian closed 2 years ago
I think it should be supported by cmp-cmdline source side.
Should I reopen in that repo? (Or are you saying you think this is functionality already present there? In my own config I have both enabled)
Ah, it appears https://github.com/hrsh7th/cmp-cmdline/issues/15 is maybe related (or the same issue).
It would be great if e.g.
:e %:h/foo
suggested completions for the expanded%:h
(i.e. the parent directory of the current file name). Right now I either get no completion suggestions when paths include%
, or I get incorrectly expanded paths (where the%:h
is still present after confirming the completion). A minimal init is:Which seems to exhibit the first behavior (no completion suggestions). My full config exhibits the latter, I have to bisect why, but neither seems to support the expansion. Let me know if this makes sense for cmp-path! (And thanks for making cmp)