Skip to content

Commit

Permalink
Respect item.level
Browse files Browse the repository at this point in the history
  • Loading branch information
uga-rosa committed Jun 21, 2023
1 parent 013f4b2 commit eacda89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion denops/ddu/ddu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ export class Ddu {
matcherKey,
__sourceIndex: sourceIndex,
__sourceName: source.name,
__level: (level ?? 0) + (item.level ?? 0),
__level: item.level ?? level ?? 0,
__expanded: Boolean(
item.treePath &&
this.isExpanded(convertTreePath(item.treePath)),
Expand Down

0 comments on commit eacda89

Please sign in to comment.