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

Syntax folding trouble #41

Closed
akxlr opened this issue Jan 14, 2015 · 1 comment
Closed

Syntax folding trouble #41

akxlr opened this issue Jan 14, 2015 · 1 comment

Comments

@akxlr
Copy link

akxlr commented Jan 14, 2015

Hi, I am having trouble with foldmethod=syntax on the following (example) file:

function f()
    a, b = {x for x in {1, 2}}
end

function g()
    println("hello")
end

Hitting za with the cursor on the first line folds the entire file, when it should only fold the top function.

Is there something wrong with my vim config or is this a bug?

@carlobaldassi
Copy link
Contributor

Actually looks like a vim bug to me, but it should be fixed nonetheless now. Thanks for the report.

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

2 participants