Skip to content

Commit

Permalink
fix(completion): no item shown when input changed to empty
Browse files Browse the repository at this point in the history
  • Loading branch information
chemzqm committed Oct 28, 2018
1 parent a15637d commit 9ba3bad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/completion.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export class Completion implements Disposable {
private async getResumeInput(): Promise<string> {
let { option, increment } = this
let [, lnum, col] = await this.nvim.call('getcurpos')
if (lnum != option.linenr || col <= option.col + 1) {
if (lnum != option.linenr || col < option.col + 1) {
increment.stop()
return null
}
Expand Down

0 comments on commit 9ba3bad

Please sign in to comment.