vuejs/vetur

Can't fold code in template region with pug

Open

#2,308 建立於 2020年9月22日

在 GitHub 查看
 (5 留言) (14 反應) (0 負責人)TypeScript (594 fork)github user discovery
buggood first issuelang:puglsp:folding

倉庫指標

Star
 (5,752 star)
PR 合併指標
 (PR 指標待抓取)

描述

  • 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.

貢獻者指南