Skip to content

Doesn't properly handle quoted single line strings with &"${env:foo}" and trailing } #5

@Iristyle

Description

@Iristyle

I think you need to change your regex so that it's not as greedy.

This blows up the formatting

function subl { &"${Env:ProgramFiles}\Sublime Text 2\sublime_text.exe" $args }

If I put the ending } on a newline, we're all good

function subl { &"${Env:ProgramFiles}\Sublime Text 2\sublime_text.exe" $args 
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions