Open memeplex opened 10 years ago
The problem is in ac-prefix
. During the ac-source-js2
iteration prefix-def
is set to ac-js2-ac-prefix
so in the next iterations the condition:
if (equal prefix prefix-def) do (push source sources)
will fail because prefix
is just ac-prefix-default
.
I find this behavior very disruptive. Maybe the behavior should be changed at the auto-complete
level, but do you really need a custom prefix parser?
When ac-source-js2 returns one or more matches to auto-complete, every other following source in ac-sources seems to be broken. That is, none of them will return any matches (although there are matches when I remove ac-source-js2).