diff options
| author | wrvsrx <42770726+wrvsrx@users.noreply.github.com> | 2026-08-31 20:41:19 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-08-31 08:41:19 -0400 |
| commit | c275b5de5a835276d3e25b7491fd0f0664295ee9 (patch) | |
| tree | 1217a691293335554dbca54f7f34ec72384d63ae /runtime/syntax/python.vim | |
| parent | e084aa6bde17a2d2526c3380b9478202c9020cc5 (diff) | |
| download | rneovim-c275b5de5a835276d3e25b7491fd0f0664295ee9.tar.gz rneovim-c275b5de5a835276d3e25b7491fd0f0664295ee9.tar.bz2 rneovim-c275b5de5a835276d3e25b7491fd0f0664295ee9.zip | |
fix(lsp): separate adjacent nested folding ranges #41428
Problem:
Folding range markers are overwritten while ranges are evaluated. A range ending on a row can hide another range starting there, and multiple nested ranges ending together emit only the innermost ending level.
Solution:
Track starts and the number of ends per row before emitting markers. Prefer starts on shared boundary rows and use the outermost level when nested ranges end together.
AI-assisted
Diffstat (limited to 'runtime/syntax/python.vim')
0 files changed, 0 insertions, 0 deletions