Skip to content

optmux-find --tags-path: no wait on the first build - #73

Merged
netj merged 1 commit into
mainfrom
vim-tags-latency
Nov 10, 2026
Merged

netj merged 1 commit into
mainfrom
vim-tags-latency

Conversation

@netj

@netj netj commented Nov 10, 2026

Copy link
Copy Markdown
Owner

The first --tags-path call polled up to 120s for ctags, so vim paused at startup. It now prints the .abs.tags path at once (an empty file until the build finishes); the background build writes the absolute-path copy when done, and vim picks it up at its next tag lookup.

Tests: new test for the no-wait path; full suite passes.

🤖 Generated with Claude Code

The first call used to wait up to 120s for ctags, stalling vim at startup.
It now prints the .abs.tags path immediately (empty until the build is done);
the background build writes the absolute-path copy when it finishes.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@netj
netj merged commit f92031a into main Nov 10, 2026
3 checks passed
@netj
netj deleted the vim-tags-latency branch November 10, 2026 23:49
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.

1 participant