Well, I have a version of the autocomplete plugin that check configurations correctly. It looks for the EVENT_FILE_OPENED and EVENT_DOC_SEL_CHANGED events and then calls QueryConfig.

This isn’t the correct fix, though, it’s a crude hack. The right way to fix this is to have the editor send the EVENT_CONFIG_CHANGED notification as it is advertised to do.