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:
parent
0d1983e8bb
commit
0410dfc23d
@ -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
|
|
||||||
}
|
|
@ -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' },
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user