universal-ctags / citre

A superior code reading & auto-completion tool with pluggable backends.
GNU General Public License v3.0
320 stars 26 forks source link

fix #151: Return prefix of define(macro) same as other company-backend #152

Closed my2817 closed 11 months ago

my2817 commented 1 year ago

As #151

AmaiKinono commented 1 year ago

I understand your implementation but the approach seems wrong to me.

If, for a language, company backends A and B see different symbols at a same position, and we want to group citre with A and B. How should we decide which one of A and B is more correct than the other?

It should be the completion frontend (company)'s responsibility to smooth out the difference between its backends.