Registry Mirror
Skip to content

Bug: comment.nvim doesn't use the neovim commentstring var #529

Open

Description

@litoj
local M = { 'numToStr/Comment.nvim', event = 'VeryLazy' }
function M.config()
	require('Comment').setup {
		ignore = '^$',
		padding = true,
		mappings = { basic = true, extra = false },
	}
end
return M

when I open any non-treesitter file, it gives me [Comment.nvim] nil on trying to comment anything despite the commentstring being set

Activity

  1. litoj commented on Sep 3, 2026

    @litoj
    Author

    #522 fixes it

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions