Comment.nvim Versions Save

:brain: :muscle: // Smart and powerful comment plugin for neovim. Supports treesitter, dot repeat, left-right/up-down motions, hooks, and more

v0.8.0

1 year ago

This release some brings more filetype support and removal of deprecated APIs and keybindings. This release is guaranteed to be API compatible with nvim v0.8.0. So, until you upgrade to nvim v0.9.0, I recommend sticking to this tag.

  • With packer.nvim
require('packer').startup(function(use)
    use({
        'numToStr/Comment.nvim',
        tag = 'v0.8.0',
        config = function()
            require('Comment').setup()
        end,
    })
end)
  • With lazy.nvim
require("lazy").setup({
  {
    'numToStr/Comment.nvim',
    tag = 'v0.8.0',
    config = function()
        require('Comment').setup()
    end,
  },
})

What's Changed

New Contributors

Full Changelog: https://github.com/numToStr/Comment.nvim/compare/v0.7.0...v0.8.0

v0.7.0

1 year ago

This release brings comment support for various filetypes, new :help comment-nvim docs and new Lua APIs. This release is guaranteed to be API compatible with nvim v0.7.0. So, until you upgrade to nvim v0.8.0, I recommend sticking to this tag.

Following are the migration instruction:

  • With packer.nvim
use {
    'numToStr/Comment.nvim',
    tag = 'v0.7.0',
    config = function()
        require('Comment').setup()
    end
}

What's Changed

New Contributors

Full Changelog: https://github.com/numToStr/Comment.nvim/compare/v0.6.1...v0.7.0

v0.6.1

1 year ago

This release meant to be a stable snapshot of the plugin so that I can do some crazy refactoring #177 and sad deprecations #180 later on inside the plugin. This release is compatible with Neovim >=v0.7 :)

Following are the instructions:

use {
    'numToStr/Comment.nvim',
    tag = 'v0.6.1',
    config = function()
        require('Comment').setup()
    end
}
Plug 'numToStr/Comment.nvim', { 'tag': 'v0.6.1' }

" Somewhere after plug#end()
lua require('Comment').setup()

What's Changed

New Contributors

Full Changelog: https://github.com/numToStr/Comment.nvim/compare/v0.6...v0.6.1

v0.6

2 years ago

This is the last commit/tag which will support neovim v0.6. So If you are using v0.6 I'll recommend sticking to this tag.

Following are the migration instruction:

use {
    'numToStr/Comment.nvim',
    tag = 'v0.6',
    config = function()
        require('Comment').setup()
    end
}
Plug 'numToStr/Comment.nvim', { 'tag': 'v0.6' }

" Somewhere after plug#end()
lua require('Comment').setup()