Skip to content

[BUG] Harpoon error when setting settings #3540

Open
@k2on

Description

@k2on
Field Description
Plugin harpoon
Nixpkgs 25.05
Home Manager 25.05
  • I have read the FAQ and my bug is not listed there.

Description

When I add settings to harpoon I get this error:

Error detected while processing /home/max/.config/nvim/init.lua:
E5113: Error while calling lua chunk: vim/shared.lua:0: after the second argument: expected table, got boolean
stack traceback:
        [C]: in function 'error'
        vim/shared.lua: in function 'validate'
        vim/shared.lua: in function 'tbl_extend'
        ...k/myNeovimPackages/start/harpoon2/lua/harpoon/config.lua:267: in function 'merge_config'
        ...ack/myNeovimPackages/start/harpoon2/lua/harpoon/init.lua:148: in function 'setup'
        /home/max/.config/nvim/init.lua:146: in main chunk

Minimal, Reproducible Example (MRE)

programs.nixvim = {
  plugins.harpoon = {
    enable = true;
    settings = {
      save_on_toggle = true;
    };
  };
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions