aboutsummaryrefslogtreecommitdiffstats
path: root/neovim/.config/nvim/lua/plugins/fuzzyfinder.lua
blob: 444d9ff5380fb2b0f8d26d5344bbf6e4153e8625 (plain)
1
2
3
4
5
6
7
8
9
10
return {
  "ctrlpvim/ctrlp.vim",
  init = function()
    -- Use ripgrep for listing files (fast, respects .gitignore)
    if vim.fn.executable("rg") == 1 then
      vim.g.ctrlp_user_command = 'rg %s --files --color=never --glob ""'
      vim.g.ctrlp_use_caching = 0
    end
  end,
}