vuejs/vetur

Can't fold code in template region with pug

Open

#2308 aperta il 22 set 2020

Vedi su GitHub
 (5 commenti) (14 reazioni) (0 assegnatari)TypeScript (594 fork)github user discovery
buggood first issuelang:puglsp:folding

Metriche repository

Star
 (5752 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

  • I have searched through existing issues
  • I have read through docs
  • I have read FAQ

Info

  • Platform: macOS
  • Vetur version: v0.27.3
  • VS Code version: 1.59.1

Problem

Can't collapse code in template region with lang="pug" (similar to https://github.com/vuejs/vetur/issues/2234)

Reproducible Case

Create vue template like this:

<template lang="pug">
  .parent
    .children
      .grand-children
        p sometext
      .grand-children
        p sometext
</template>

Without vetur it will collapse as expected, but not with vetur enabled.

Guida contributor