Skip to content

Migrating From The Original

Guennadi Maximov C. edited this page Sep 23, 2025 · 12 revisions

Relevant Changes

  • Due to Discussion #5 I have decided to rename the module from project_nvim to project
  • I renamed lua/project_nvim/project.lua to lua/project/api.lua to avoid confusion and to extend that file like an API

This very simple guide should be of use if you're migrating from the OG project.nvim.

Tip

The process should be simple, really. In your setup, just modify your require('project_nvim') statements accordingly.

lazy.nvim

-- ORIGINAL PLUGIN
{
  'ahkmedhalf/project.nvim',
  -- ...
  config = function()
    require('project_nvim').setup(...)
  end,
}

-- THIS PLUGIN
{
  'DrKJeff16/project.nvim',
  -- ...
  opts = {
    -- ...
  },
}

Tip

If you'd rather stick to using the config field:

{
  'DrKJeff16/project.nvim',
  config = function()
    require('project').setup(...)
  end,
}

Clone this wiki locally