Skip to content

Commit

Permalink
Merge pull request #58 from uga-rosa/fix/level
Browse files Browse the repository at this point in the history
Respect item.level
  • Loading branch information
Shougo authored Jun 21, 2023
2 parents 013f4b2 + eacda89 commit 392f464
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 392f464

Please sign in to comment.