Adding attributesToHighlight on a static source

I have an autocomplete instance on every page that pulls from my Algolia Index and two pages that I have an autocomplete that’s populated by a static sources. I have the highlighting working fine on the global instance from the algolia index, however I’m unable to get the highlighting working on my static indexes. Is the highlighting method only available when the source is an algolia result?

Thank you for you help!