Skip to content

Opting not to install plugin still tries to call setup function #2073

@AetherSurfer85

Description

@AetherSurfer85

Before Reporting an Issue

  • I have read the kickstart.nvim README.md.

  • I have read the appropriate plugin's documentation.

  • I have searched that this issue has not been reported before.

  • [ X] By checking this, I confirm that the above steps are completed. I understand leaving this unchecked will result in this report being closed immediately.

Describe the bug

When using the interactive menu for installing plugins using vim.pack, choosing "No" results in an error. This is because it still attempts to call the plugin's .setup() function. Commenting out the appropriate lines in init.lua solves the problem. However, it should not be necessary to do this, as it defeats the purpose of having an interactive installer!

To Reproduce

  1. Starting from a fresh install of Neovim 0.12 and kickstart's init.lua, simply choose "No" at the first plugin installation prompt (for guess-indent).

Desktop

  • OS: Debian 13
  • Terminal: Konsole

Neovim Version

NVIM v0.12.2
Build type: Release
LuaJIT 2.1.1774638290

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions