From 1ca8e8106be1c351982a316972faa4ce3f93cf33 Mon Sep 17 00:00:00 2001 From: Samir Benmendil Date: Thu, 4 May 2023 00:26:11 +0100 Subject: [PATCH] nvim/coding: switch to comments.nvim It supports the block comments, mini.comment doesn't. --- nvim/lua/plugins/coding.lua | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/nvim/lua/plugins/coding.lua b/nvim/lua/plugins/coding.lua index 6194756..c1b1c39 100644 --- a/nvim/lua/plugins/coding.lua +++ b/nvim/lua/plugins/coding.lua @@ -86,4 +86,20 @@ return { }, }, }, + -- comments + { + "numToStr/Comment.nvim", + opts = { + toggler = { + line = "gcc", + block = "gbb", + }, + mappings = { + basic = true, + extra = true, + }, + }, + }, + { "JoosepAlviste/nvim-ts-context-commentstring", enabled = false }, + { "echasnovski/mini.comment", enabled = false }, } -- 2.48.1