Fixes #208. The issue is that the @ is getting detected as terminating at the @ so the space becomes part of the command. When calculating if the cursor is at the end of the command, it used trim instead of trimEnd so the cursor was always found to be 1 character left of the end giving recommendations too early.
Fixes #208. The issue is that the
@
is getting detected as terminating at the@
so the space becomes part of the command. When calculating if the cursor is at the end of the command, it usedtrim
instead oftrimEnd
so the cursor was always found to be 1 character left of the end giving recommendations too early.