Skip to content

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

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,
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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