project.nvim
project.nvim copied to clipboard
It doesn't dedect projects
I just installed it, everything looks fine and I can open it in telescope. I'm using the default config but I added init.lua to patterns so it dedects my neovim config but everytime I open it in telescope nothing shows up
I have the same problem, I am only using the defaults as documented, but nothing shows up when I open it in Telescope.
Even when I add a valid path to the project_history file manually, nothing shows up in Telescope.
Try in this way:
use {
"ahmedkhalf/project.nvim",
requires = {"neovim/nvim-lspconfig"},
config = function()
require("project_nvim").setup({
manual_mode = false,
detection_methods = { "lsp", "pattern" },
silent_chdir = true,
show_hidden = true,
})
end
}
Happens the same to me, still not working
Ok finally got it working


@jugarpeupv , your method worked for me! Thanks.
This still happens to me with this config
project.setup({
manual_mode = false,
patterns = { ".git" },
detection_methods = { "patterns", "lsp" }
})
It does not add a project that has a .git folder to the list