Open nullromo opened 8 months ago
After coc-prettier is triggered, the folding in the file will change
export const f = () => { const x = () => { console.log('hello'); }; return 'a'; };
:set foldmethod=indent
:set foldlevel=99
2GJJ
zM2GzO
When formatting with Prettier, coc-prettier should not change any of the folding. It should not open or close any folds.
Summary
After coc-prettier is triggered, the folding in the file will change
Steps to Reproduce
:set foldmethod=indent
:set foldlevel=99
2GJJ
zM2GzO
2GJJ
Ideal Solution
When formatting with Prettier, coc-prettier should not change any of the folding. It should not open or close any folds.