Skip to content

Commit

Permalink
Remove native popup attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
Shougo committed Aug 2, 2023
1 parent dbaa570 commit c57cb71
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
6 changes: 1 addition & 5 deletions denops/ddc/ddc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -273,8 +273,7 @@ export class Ddc {
? this.prevResults[s.name]
: null;

const triggerForIncomplete =
(checkPrevResult?.isIncomplete ?? false) &&
const triggerForIncomplete = (checkPrevResult?.isIncomplete ?? false) &&
context.lineNr === checkPrevResult?.lineNr &&
completePos === checkPrevResult?.completePos;

Expand Down Expand Up @@ -354,9 +353,6 @@ export class Ddc {
__sourceName: s.name,
__dup: o.dup,
abbr: formatAbbr(c.word, c.abbr),
dup: true,
equal: true,
icase: true,
kind: c.kind ? c.kind : "",
info: c.info ? c.info : "",
menu: formatMenu(o.mark, c.menu),
Expand Down
3 changes: 0 additions & 3 deletions denops/ddc/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,6 @@ export type DdcItem =
& {
__sourceName: string;
__dup: "keep" | "force" | "ignore";
dup: boolean;
equal: boolean;
icase: boolean;
};

/**
Expand Down

0 comments on commit c57cb71

Please sign in to comment.