:brain: :muscle: // Smart and powerful comment plugin for neovim. Supports treesitter, dot repeat, left-right/up-down motions, hooks, and more
Repo numToStr/Comment.nvim, read from GitHub 24 min ago. numToStr has not joined Take My Repo.
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.
require('packer').startup(function(use) use({ 'numToStr/Comment.nvim', tag = 'v0.8.0', config = function() require('Comment').setup() end, }) end)
require("lazy").setup({ { 'numToStr/Comment.nvim', tag = 'v0.8.0', config = function() require('Comment').setup() end, }, })
extended keybindings by @numToStr in #254v:count when using . repeat by @numToStr in #253handlebars support by @toh995 in #257applescript support by @mrjones2014 in #260dart support by @genesistms in #261luau support by @lopi-py in #262extended keybindings by @numToStr in #269dosbatch support by @MeShootIn in #291yuck support by @Akmadan23 in #313v support by @tobealive in #319Full Changelog: v0.7.0...v0.8.0
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:
use { 'numToStr/Comment.nvim', tag = 'v0.7.0', config = function() require('Comment').setup() end }
glsl support by @daangoossens22 in #184elvish support by @codyopel in #185jsonnet support by @codyopel in #186replace_keycodes=false to expr mappings by @jdrouhard in #190toggler doesn't defines mappings in visual mode by @refaelsh in #197after/plugin/Comment.lua => plugin/Comment.lua by @numToStr in #202i_<C-o>gcc inserts g@$ by @numToStr in #204:h comment-nvim by @numToStr in #205gnuplot support by @sahashirshendu in #209nu support by @jgollenz in #210gitignore support by @eeeXun in #217lockmarks from gc{o,O} by @PowerUser64 in #220lilypond support by @Akmadan23 in #248Full Changelog: v0.6.1...v0.7.0
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()
<Plug> mappings by @numToStr in #98elixir support by @sbennett33 in #148gdscript support by @Arrow-x in #152cabal support by @uf5 in #156R support by @jmbuhr in #165cuda support by @horst5000 in #170stata support by @richardcherron in #173Solidity support by @alefbragin in #178arduino support by @saecki in #181Full Changelog: v0.6...v0.6.1
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()