project.nvim icon indicating copy to clipboard operation
project.nvim copied to clipboard

It doesn't dedect projects

Open AlganOngun opened this issue 3 years ago • 6 comments

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

AlganOngun avatar Feb 23 '22 22:02 AlganOngun

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.

eterps avatar Mar 10 '22 09:03 eterps

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
}

carloseguevara avatar Apr 21 '22 04:04 carloseguevara

Happens the same to me, still not working

jugarpeupv avatar Apr 27 '22 21:04 jugarpeupv

Ok finally got it working

image image

jugarpeupv avatar Apr 27 '22 21:04 jugarpeupv

@jugarpeupv , your method worked for me! Thanks.

pspiagicw avatar Jul 04 '22 14:07 pspiagicw

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

gwjulian avatar May 10 '23 16:05 gwjulian