Skip to content

Refactor expand item with async#39

Merged
Shougo merged 1 commit intoShougo:mainfrom
hori-ryota:refactor-expandItem-with-async
Jan 14, 2023
Merged

Refactor expand item with async#39
Shougo merged 1 commit intoShougo:mainfrom
hori-ryota:refactor-expandItem-with-async

Conversation

@hori-ryota
Copy link
Copy Markdown
Contributor

@hori-ryota hori-ryota commented Jan 14, 2023

前段のリファクタリングで並行処理が整理できたので、redraw抑制のためにexpand中のtreePathをSetで管理するのではなく全ての展開処理が終わったらredrawするインターフェースにできました。

Set(expandedPath)はredraw待ちとしての役目は終えますが、tree復元で使用するのに利用する(今も暫定措置で利用されている)ので削除していません。

refactor gatherItems with async generator by hori-ryota · Pull Request #38 · Shougo/ddu.vim のマージ & rebase待ち)

@hori-ryota hori-ryota force-pushed the refactor-expandItem-with-async branch from ed02115 to d7980d0 Compare January 14, 2023 10:39
@Shougo Shougo merged commit 7d1b1fa into Shougo:main Jan 14, 2023
@Shougo
Copy link
Copy Markdown
Owner

Shougo commented Jan 14, 2023

Merged.

@hori-ryota hori-ryota deleted the refactor-expandItem-with-async branch January 14, 2023 10:45
Shougo added a commit that referenced this pull request Apr 5, 2026
loader: make registerPath concurrency-safe and add registerPaths (port of dpp.vim PR #39)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants