extensions icon indicating copy to clipboard operation
extensions copied to clipboard

Pug

Open robguthrie opened this issue 2 years ago • 4 comments

Check for existing issues

  • [X] Completed

Language

Pug

Tree Sitter parser link

https://github.com/zealot128/tree-sitter-pug

Language server link

No response

Misc notes

Pug is a markup language that outputs HTML. It's similar in intent to HAML and Slim.

I use Pug in my Vue component files:

<template lang="pug">
div(attr="something") hello world
</template>

It would be wonderful if Zed supported this. Is the provided tree-sitter highlighting any help?

robguthrie avatar Jan 30 '24 10:01 robguthrie

Similar to zed-industries/extensions#179 and zed-industries/extensions#140

robguthrie avatar Jan 30 '24 10:01 robguthrie

Pug support is very much needed 👍

zolotokrylin avatar Feb 16 '24 05:02 zolotokrylin

This is MUST!

rendomnet avatar Aug 08 '24 04:08 rendomnet

The only thing that stops me from fully using Zed

ruslankorsar avatar Aug 27 '24 07:08 ruslankorsar

Looks like we have an extension now, so I'm closing this out!

SCR-20241110-brws

JosephTLyons avatar Nov 10 '24 05:11 JosephTLyons

Awesome!

zolotokrylin avatar Nov 11 '24 06:11 zolotokrylin

I'm not sure this is actually resolved or completed. Maybe pug files have right color coding but vue files do not. I think the original idea or request from the author was to have colors in vue template. With the plugin I do not have colors.

vue-template

stenolmre avatar Nov 13 '24 19:11 stenolmre

I'm not sure this is actually resolved or completed. Maybe pug files have right color coding but vue files do not. I think the original idea or request from the author was to have colors in vue template. With the plugin I do not have colors.

vue-template

I fixed this particular issue with Pug markup inside Vue component files here: https://github.com/zed-extensions/vue/pull/7

repoman avatar Nov 13 '24 20:11 repoman