Skip to content

Folds do not open when bracket is placed under function and foldlevel is 0 #61

@jonlarsdizparc

Description

@jonlarsdizparc

Folds do not open with horizantal movement (foldopen set to hor), and foldlevel set to 0 when brackets are placed under a function/conditional etc. Both do work with 'za' though.

# WORKS
function MyFunction() {
    Write-Information 'Hello!'
}

# DOES NOT WORK
function MyFunction()
{
    Write-Information 'Hello!'
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions