Skip to content

Commit

Permalink
Merge pull request #5 from atusy/complete-after-space
Browse files Browse the repository at this point in the history
feat: support completion after space
  • Loading branch information
Shougo authored Dec 21, 2023
2 parents 3a92612 + 43a6925 commit b53684b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion denops/@ddc-sources/shell-native.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export class Source extends BaseSource<Params> {
override getCompletePosition(args: {
context: Context;
}): Promise<number> {
const matchPos = args.context.input.search(/\S+$/);
const matchPos = args.context.input.search(/\S*$/);
const completePos = matchPos !== null ? matchPos : -1;
return Promise.resolve(completePos);
}
Expand Down

0 comments on commit b53684b

Please sign in to comment.