Skip to content
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

Change folding style #232

Open
Tasiro opened this issue Nov 9, 2020 · 0 comments
Open

Change folding style #232

Tasiro opened this issue Nov 9, 2020 · 0 comments

Comments

@Tasiro
Copy link

Tasiro commented Nov 9, 2020

Currently Lean code is folded like C code, where everything is folded until the next token with less indentation (usually the closing curly brace), including empty lines. That will fold away any separating line breaks between two definitions, making it harder to read. I think the folding style of e. g. Python is better suited for Lean, since we don't have closing curly braces for every indentation level.

VSC has an option for the language-configuration.json file to change that, by adding the option "folding": { "offSide": true }, as mentioned in microsoft/vscode#3353 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant