Skip to content

Per-repository configuration #1590

Answered by ibhagwan
patrick-5546 asked this question in Q&A
Discussion options

You must be logged in to vote

Change your opts to a lua function, check the cwd as condition, rough sketch:

lua require('fzf-lua').files(function()
  local cwd = vim.uv.cwd()
  if cwd == `foo`
    return {}
  else
    return { git_icons = true }
  end
end)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ibhagwan
Comment options

Answer selected by patrick-5546
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants