-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Folding provider inaccurate when token level=0
, line!=0
#4
Comments
|
|
|
|
|
|
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
🐛 Bug Report
vscode-textmate-languageservice
available.Describe the bug
The adjustment to the folding provider fixed folds when
level>0
.It put a +1 on all folds because the first fold is on line 0.
Reproduce the bug
mpm.m
@mobeets/mpm
#v3.1.0findAndSetupPackage
outline symbol.Screenshots
Expected behavior
We need to not +1 to all tokens. We need to increment the edge condition
level=0&line!=0
and restore sanity to the output, while keeping foldslevel>0
working.Additional context
VSC version: 1.74.3
Extensions:
code --list-extensions
OS version: 21H2
The text was updated successfully, but these errors were encountered: