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

After update vs code to 1.93 <i18n lang="yaml"> in SFC breaks code coloring in subsequent sections #1938

Closed
4 tasks done
FragsterAt opened this issue Sep 9, 2024 · 1 comment
Labels
Status: Review Needed Request for review comments

Comments

@FragsterAt
Copy link

Reporting a bug?

After update vs code to 1.93 in SFC breaks code coloring in subsequent sections/
In VS code 1.92.1 all works fine.

Expected behavior

correct code coloring in vs code 1.93.1

Reproduction

Install VS code 1.92.1 or earlier.
create SFC with section like in docs: https://vue-i18n.intlify.dev/guide/advanced/sfc.html (minimal is something like that:

<template>
  <div>{{ greeting }}</div>
</template>

<i18n lang="yaml">
  en:
    test: test
</i18n>

<script setup>
import { ref } from 'vue'
const greeting = ref('Hello world!')
</script>

)

everything is fine
Upgrade VS code to 1.93
code coloring broken

System Info

vs code:

Version: 1.93.0 (system setup)
Commit: 4849ca9bdf9666755eb463db297b69e5385090e3
Date: 2024-09-04T13:02:38.431Z
Electron: 30.4.0
ElectronBuildId: 10073054
Chromium: 124.0.6367.243
Node.js: 20.15.1
V8: 12.4.254.20-electron.0
OS: Windows_NT x64 10.0.14393

Screenshot

изображение

Additional context

No response

Validations

@FragsterAt FragsterAt added the Status: Review Needed Request for review comments label Sep 9, 2024
@kazupon
Copy link
Member

kazupon commented Sep 9, 2024

Thank you for your reporting!

I think your issue is vscode or vscode extension issue
vue-i18n does not provide or touch anything against syntax hightlight in custom blocks.
Please open an issue against vscode extensions.

Thanks!

@kazupon kazupon closed this as completed Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Review Needed Request for review comments
Projects
None yet
Development

No branches or pull requests

2 participants