Skip to content

fix: use pug syntax for emmet in template lang pug#3021

Open
tkhs0813 wants to merge 2 commits into
sveltejs:masterfrom
tkhs0813:fix/pug-emmet-completion
Open

fix: use pug syntax for emmet in template lang pug#3021
tkhs0813 wants to merge 2 commits into
sveltejs:masterfrom
tkhs0813:fix/pug-emmet-completion

Conversation

@tkhs0813

Copy link
Copy Markdown
Contributor

fix #1597

This PR updates Emmet completion handling so that Svelte templates with lang="pug" use Pug syntax instead of HTML syntax.

Changes:

  • Add a regression test for Emmet completions inside <template lang="pug">
  • Use pug as the Emmet syntax when the template language attribute is pug
  • Keep the default behavior as html for other templates

@changeset-bot

changeset-bot Bot commented May 10, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: efb4fd0

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
svelte-language-server Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@dummdidumm dummdidumm left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Emmet not using pug syntax in template with lang="pug"

2 participants