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: jump ends in shims.d.ts, fix #3 #13

Merged
merged 2 commits into from
Dec 29, 2023

Conversation

ShenQingchuan
Copy link
Contributor

Description

The jump constantly ends up to shims.d.ts, the reason is triggering VSCode's "Go to definition" on .vue module with some machine that not correctly configured "take over mode" by volar, will still goes to shims.d.ts.

From our investigation, it's quite common and I have reservations about coupling to volar's takeover mode, so I made a more straightforward change to ensure the availability of.vue components.

Linked Issues

#3

Additional context

Nothing more, show you the code.

src/index.ts Outdated Show resolved Hide resolved
@antfu antfu changed the title fix: #3 jump ends in shims.d.ts fix: jump ends in shims.d.ts, fix #3 Dec 29, 2023
@antfu antfu merged commit 0f23208 into antfu:main Dec 29, 2023
2 checks passed
@ShenQingchuan ShenQingchuan deleted the fix-jump-issue-#3 branch January 8, 2024 02:40
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