Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

feat: cwd option can be used as function. #48

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

SeitaHigashi
Copy link

I want to use a function as cwd option.
like below.

      {
        name = 'rg',
        option = {
          additional_arguments = "--max-depth 4 --follow --threads 1",
          cwd = function ()
            return vim.fn.expand("%:p:h:h")
          end
        },

@SeitaHigashi
Copy link
Author

Sorry, I didn't check other pull requests...

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant