Commit Graph

7 Commits (03f59df502557e1b259005382b6e6813fc16ed9c)

Author SHA1 Message Date
Eric Freese 78e4379711 Fix moving cursor to end of buffer when suggestion accepted
$max_cursor_pos in this case was not the correct value to use. It was
calculated based on the old length of the $BUFFER. After the suggestion
is accepted, we need to recalculate the new max cursor length and use it
to set the $CURSOR.

Fixes issue #452. Follow-up to issue #302 (PR #450).
6 years ago
Eric Freese b9fee8a324 Allow disabling of automatic widget re-binding
Addresses github #411
6 years ago
Eric Freese ea505b01e5 Add a spec for unlisted widgets fetching a new suggestion 8 years ago
Eric Freese 2cd99e64b7 Add a test for modifying widget list vars after sourcing plugin 8 years ago
Eric Freese c70d685d15 Clean up widget list spec 8 years ago
Eric Freese 255359dbb8 Use `+=` to be a bit more true to the spec language 8 years ago
Eric Freese ed8056c5e8 Lots of async changes 8 years ago