This commit is contained in:
Rani Malach 2026-01-11 18:34:27 +02:00 committed by GitHub
commit a8414f039f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -5,8 +5,8 @@ pick = function()
return vim.cmd("Telescope projects") return vim.cmd("Telescope projects")
elseif LazyVim.pick.picker.name == "fzf" then elseif LazyVim.pick.picker.name == "fzf" then
local fzf_lua = require("fzf-lua") local fzf_lua = require("fzf-lua")
local project = require("project_nvim.project") local project = require("project.api")
local history = require("project_nvim.utils.history") local history = require("project.utils.history")
local results = history.get_recent_projects() local results = history.get_recent_projects()
local utils = require("fzf-lua.utils") local utils = require("fzf-lua.utils")
@ -84,14 +84,14 @@ end
return { return {
{ {
"ahmedkhalf/project.nvim", "DrKJeff16/project.nvim",
opts = { opts = {
manual_mode = true, manual_mode = true,
}, },
event = "VeryLazy", event = "VeryLazy",
config = function(_, opts) config = function(_, opts)
require("project_nvim").setup(opts) require("project").setup(opts)
local history = require("project_nvim.utils.history") local history = require("project.utils.history")
history.delete_project = function(project) history.delete_project = function(project)
for k, v in pairs(history.recent_projects) do for k, v in pairs(history.recent_projects) do
if v == project.value then if v == project.value then