Skip to content

project.nvim - New setup options and breaking changes #1566

@DrKJeff16

Description

@DrKJeff16

Description

Hello again, maintainer of DrKJeff16/project.nvim here. If it concerns you, just wanted to give you a heads up.

The plugin has undergone a rewrite that includes breaking changes (won't interfere with users, as far as I know).

Now people can add a name to each project. I'm still figuring out how to implement it in a way I'm satisfied with, but there's the option to run :ProjectRename </path/to/PROJECT>.

NOTE: Users must run :ProjectHistory migrate once to migrate their history file spec to the new one.

New Options

{ -- New setup options
  fzf_lua = {
    -- ...
    show = 'paths', -- 'paths'|'names' 
  },
  history = {
    save_dir = vim.fn.stdpath('data'),  -- REPLACED `datapath` option
    save_file = 'project_history.json', 
    size = 100,                         -- REPLACED `historysize` option
  },
  picker = {
    -- ...
    show = 'paths', -- 'paths'|'names'
  },
  snacks = {
    -- ...
    show = 'paths', -- 'paths'|'names' 
  },
  telescope = {
    -- ...
    show = 'paths', -- 'paths'|'names' 
  },
}

Will keep you updated on further changes. Thanks for your time!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions