From: Samir Benmendil Date: Wed, 3 May 2023 23:26:11 +0000 (+0100) Subject: nvim/coding: switch to comments.nvim X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/c46a02525d29b338c3d911933d7d306c532ce24f nvim/coding: switch to comments.nvim It supports the block comments, mini.comment doesn't. --- 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 }, }