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