comments: use neovim native commenting (#2861)
* comments: use neovim native commenting * Comment mapping : remap to gc/gcc --------- Co-authored-by: Sidhanth Rathod <siduck@tutanota.com>
This commit is contained in:
@@ -129,21 +129,6 @@ return {
|
||||
end,
|
||||
},
|
||||
|
||||
{
|
||||
"numToStr/Comment.nvim",
|
||||
keys = {
|
||||
{ "gcc", mode = "n", desc = "comment toggle current line" },
|
||||
{ "gc", mode = { "n", "o" }, desc = "comment toggle linewise" },
|
||||
{ "gc", mode = "x", desc = "comment toggle linewise (visual)" },
|
||||
{ "gbc", mode = "n", desc = "comment toggle current block" },
|
||||
{ "gb", mode = { "n", "o" }, desc = "comment toggle blockwise" },
|
||||
{ "gb", mode = "x", desc = "comment toggle blockwise (visual)" },
|
||||
},
|
||||
config = function(_, opts)
|
||||
require("Comment").setup(opts)
|
||||
end,
|
||||
},
|
||||
|
||||
{
|
||||
"nvim-telescope/telescope.nvim",
|
||||
dependencies = { "nvim-treesitter/nvim-treesitter" },
|
||||
|
||||
Reference in New Issue
Block a user