Comment.nvim

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

MIT License

Stars
3.9K
Committers
116

Bot releases are visible (Hide)

Comment.nvim - v0.8.0 - Stable as a Rock Latest Release

Published by numToStr over 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

Comment.nvim - v0.7.0 - Bag of Goodies

Published by numToStr about 2 years 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

Comment.nvim - v0.6.1 - Before Apocalypse

Published by numToStr over 2 years 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

Comment.nvim - Bye Bye v0.6

Published by numToStr over 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()
Package Rankings
Top 6.74% on Proxy.golang.org
Top 8.7% on Alpine-edge
Related Projects