As you say, when you press <Tab>
after :set fdm=
, you get manual
inserted.
That could seem the usual autocomplete behaviour we are used to in many places, manual
being just the first of all possible values. So, you expect that repeating <Tab>
will give you more possibilites.
But that's not indeed the case. What you get when pressing <Tab>
in such a situation is not the first autocompletion alternative, but the current option value. So, you're getting manual
because that's in fact the default value for that option. Successive <Tab>
s get inserted literally, as this behaviour is only fired right after =
.
From Vim's help:
The old value of an option can be obtained by hitting 'wildchar' just after
the '='. For example, typing 'wildchar' after ":set dir=" will insert the
current value of 'dir'. This overrules file name completion for the options
that take a file name.
So, what you described is expected behaviour. See :help cmdline-completion
for the whole story.
I don't know about any plugin capable of changing this to what you want.