Switch to mini.comment from comment.nvim

Even though v0.10.0 introduced builtin support for `gc{motion}` to
toggle comments it does not support ignoring blank lines. Also switch to
using mini.comment as its the same author as the builtin support.
This commit is contained in:
Kenneth Benzie 2024-05-28 23:26:49 +01:00
parent 0d1983e8bb
commit 0410dfc23d
2 changed files with 2 additions and 16 deletions

View File

@ -1,10 +0,0 @@
return {
-- TODO: v0.10.0 Added built-in |commenting| support.
'terrortylor/nvim-comment',
config = function()
require('nvim_comment').setup({
-- should comment out empty or whitespace only lines
comment_empty = false,
})
end
}

View File

@ -33,12 +33,8 @@ local noice = {
return { return {
-- noice, -- noice,
{ { 'echasnovski/mini.comment', opts = { options = { ignore_blank_line = true } } },
'tummetott/unimpaired.nvim', { 'tummetott/unimpaired.nvim', opts = {} },
config = function()
require('unimpaired').setup({})
end
},
{ 'stevearc/dressing.nvim' }, { 'stevearc/dressing.nvim' },
{ 'kevinhwang91/nvim-bqf' }, { 'kevinhwang91/nvim-bqf' },
} }