Baw-Appie / zed-pug

4 stars 0 forks source link

Rendering inside a template #1

Open narmatoff opened 1 month ago

narmatoff commented 1 month ago

When viewing a component on vuejs, for example:

<template lang="pug">
div.component
     div.component_child
</template>

The template does not highlight the components inside it with colors.

Baw-Appie commented 1 month ago

I am aware of this issue.

However, the only solution I have found to apply highlighting to Pug code within Vue.js is to modify the built-in Vue.js plugin in Zed to apply Pug highlighting, and then merge this repository into Zed.

I am looking for a way to resolve this without modifying Zed's source code.

ruslankorsar commented 2 weeks ago

Thank you. I look forward to having this for my Svelte projects as well.