Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: wait longer for cursor to move to the correct line in .d.ts #7

Merged
merged 1 commit into from
Apr 2, 2023

Conversation

ascott18
Copy link
Contributor

@ascott18 ascott18 commented Mar 31, 2023

Description

This extension isn't working because it doesn't wait long enough for the cursor to move to the navigated-to line in the .d.ts file. This PR fixes that by polling for the cursor line to update, up to a max wait of 1 second.

Linked Issues

Fixes #6

Additional context

@ascott18 ascott18 mentioned this pull request Mar 31, 2023
5 tasks
@antfu antfu changed the title Wait longer for cursor to move to the correct line in .d.ts fix: wait longer for cursor to move to the correct line in .d.ts Apr 2, 2023
@antfu antfu merged commit f1878f4 into antfu:main Apr 2, 2023
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.

Not working in Nuxt3
2 participants