hunyan-io / vite-plugin-vue-nested-sfc

Nest SFCs within your SFC.
MIT License
96 stars 0 forks source link

Lang is vue removes Syntax Highlighting #7

Closed louiss0 closed 1 year ago

louiss0 commented 1 year ago

Vue version: 3.3.0 Volar version: 1.6.0 Vue Nested SFC Version: 0.1.1

I remember seeing in a recent version that you have decided to support lang="vue". But it does not work.

This is what my editor looks like The white indicates there is no syntax highlighting Screenshot 2023-05-11 205830

It was fine when the last two versions came out Screenshot 2023-05-08 133236

hunyan-io commented 1 year ago

It's Volar extension that supported lang="vue" recently. Make sure you're on the latest version (v1.6.4).

louiss0 commented 1 year ago

It's Volar extension that supported lang="vue" recently. Make sure you're on the latest version (v1.6.4).

I was not able to switch to that version I had to switch to a pre-release version. I don't like to do that. Filing an issue.

Can you tell me the difference between html and vue?

hunyan-io commented 1 year ago

It's Volar extension that supported lang="vue" recently. Make sure you're on the latest version (v1.6.4).

I was not able to switch to that version I had to switch to a pre-release version. I don't like to do that. Filing an issue.

Can you tell me the difference between html and vue?

There are differences when it comes to syntax highlighting. Try hovering over <template>, you'll see that the documentation is different in html and vue.