Open cekerholic opened 4 years ago
If you want this you'll lose JS #region
folding.
stylus also has this problem
stylus also has this problem
I think you need to open another issue.
Temporary Solution:
// vscode settings.json
{ "editor.foldingStrategy": "indentation" }
Or like this:
// vscode settings.json
{
"[vue]": {
"editor.foldingStrategy": "indentation"
}
}
Info
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:
Without vetur it will collapse as expected, but not with vetur enabled.