Skip to content

Consistently enforce stringification of text in fuzzy matching.#2097

Open
adamharrison wants to merge 1 commit into
lite-xl:masterfrom
adamharrison:PR/fix-autocomplete-fuzzy-match
Open

Consistently enforce stringification of text in fuzzy matching.#2097
adamharrison wants to merge 1 commit into
lite-xl:masterfrom
adamharrison:PR/fix-autocomplete-fuzzy-match

Conversation

@adamharrison

Copy link
Copy Markdown
Member

Requires a tostring, as autocomplete passes an object with a metatable that overrides __tostring; and relies on this to work with fuzzy match. We already do this on L165, we just don't consistently do it in compare_score.

…e that overrides __tostring; and relies on this to work with fuzzy match.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant