Skip to content

scan cmd should be a function which can be evaluated depending on cwd #335

@Kaiser-Yang

Description

@Kaiser-Yang

by default, the scan cmd will list hidden files. in most cases, i do not want to list hidden files except in my dotfiles.

by now i have to evaluate the command before setting up. but when the dir changes, the configuration will not change. to make it work as expected, i have to create auto command for dirchanged then call config setup to change the scan cmd, which is a little bit complicated. therefore i hope the option can be a function, and should be evaluated every time the picker is opened.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions