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

Folds customization #1136

Closed
wants to merge 3 commits into from
Closed

Folds customization #1136

wants to merge 3 commits into from

Conversation

zdm
Copy link

@zdm zdm commented Jul 14, 2018

Following global variables added:

let g:javascript_fold_blocks = 1
let g:javascript_fold_comments = 1
let g:javascript_fold_functions = 1

@zdm
Copy link
Author

zdm commented Jul 14, 2018

This PR allows users to choose, what to fold: comments, functions, other code blocks.

@vokar
Copy link

vokar commented May 16, 2019

Any possible progress regarding merging this PR?

@amadeus
Copy link
Collaborator

amadeus commented Nov 11, 2019

Unfortunately I am personally opposed to merging this - I don't really like converting a ton of syntax definitions to exec blocks, and we lose syntax highlighting.

@zdm
Copy link
Author

zdm commented Nov 11, 2019

I agree, that syntax is pretty ugly.
But is there is another way to fold functions only?

@zdm zdm closed this Sep 13, 2024
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

Successfully merging this pull request may close these issues.

3 participants