We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Vue code:
<script setup lang="ts"> function onRightClick(e: MouseEvent) {} </script> <template> <slot v-bind="{ onRightClick }"></slot> </template>
Error output:
[Error - 3:50:14 AM] Request textDocument/formatting failed. Message: Request textDocument/formatting failed with message: Overlapping edit Code: -32603
I have tried different ways with v-bind on scoped v-slot:
<!--crash--> <slot v-bind="{ onRightClick }"></slot> <!--all below work fine--> <slot v-bind:onRightClick="onRightClick"></slot> <slot :onRightClick="onRightClick"></slot> <slot v-bind="scoped"></slot> // const scoped={onRightClick} <slot v-bind="scoped"></slot> // const scoped={onRightClick:onRightClick}
Only the first style crashes.
vscode version: 1.66.0 system: win11 21H2
The text was updated successfully, but these errors were encountered:
f79cba9
No branches or pull requests
Vue code:
Error output:
I have tried different ways with v-bind on scoped v-slot:
Only the first style crashes.
vscode version: 1.66.0
system: win11 21H2
The text was updated successfully, but these errors were encountered: