Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
suggest/utils: fix autocomplete for fields
For fields completion like: A.| ^ cursor Previously the plugin would tell the completion handler that the cursor is at: A. ^ which is not a `keyword`, thus the completion won't be triggered. This commit fixes the issue by adjusting the starting position variable instead of the cursor position.
- Loading branch information