Skip to content

<Plug>(fern-action-ex=) should include fnnameescape perhaps? #532

@ubaldot

Description

@ubaldot

I have the following mapping `nmap O (fern-action-ex=)Open``
Inspection of the ":map O" returns

n O *@<Cmd>execute "Open " .. expand('<cfile>:p')<CR>

Would be more appropriate expanding to n O *@<Cmd>execute "Open " .. fnameescape(expand('<cfile>:p'))<CR> ?
Often, full filepaths have whitespaces in Windows.

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