Skip to content

Error message "[Comment.nvim] nil" when plugin is used with vim.pack #517

@rseichter

Description

@rseichter

I am experimenting with moving from Lazy to the new vim.pack plugin manager in Neovim nightly. Looks mostly OK, but I may be configuring Comment.nvim incorrectly. When using key bindings like gcc, all I get is the error message "[Comment.nvim] nil", which is not too helpful in itself.

How does one correctly configure this plugin for vim.pack? The following does not seem to work:

return {
  'numToStr/Comment.nvim',
  config = function()
    require('Comment').setup()
  end,
}

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