Files
oak-gpui/crates
tims 9487fffc55 Fix snippet completion will be trigger, when certain symbols are pressed (#21578)
Closes #21576

This issue is caused by the fuzzy matching for snippets I added
[here](https://github.com/zed-industries/zed/pull/21524). When
encountering symbols such as `:`, `(`, `.`, etc., the `last_word`
becomes empty, which results in an empty string being passed to
`fuzzy_match`, leading to the return of all templates.

This fix adds an early return when `last_word` is empty.

Release Notes:

- N/A
2024-12-05 09:01:35 +01:00
..
2024-04-30 23:31:59 -06:00
2024-08-13 23:06:07 -07:00
2024-03-11 10:45:57 +01:00
2024-07-15 17:04:15 -06:00
2024-12-02 15:22:03 -08:00
2024-11-18 22:56:34 +01:00
2024-10-02 13:27:16 +02:00
2024-12-03 23:22:26 -05:00
2024-12-04 12:01:28 -05:00