From ef4bcae5853a78a769a14849b63ec70c2dc7dade Mon Sep 17 00:00:00 2001 From: rootiest Date: Sat, 21 Sep 2024 06:55:49 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix(comments)!:=20tweak=20commen?= =?UTF-8?q?ts.nvim=20mapping?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Allows use of native gc mapping in VISUAL and comments.nvim via gC BREAKING CHANGE: Changes default comment provider in VISUAL mode --- lua/plugins/coding.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lua/plugins/coding.lua b/lua/plugins/coding.lua index e318d5c..1a28c9a 100644 --- a/lua/plugins/coding.lua +++ b/lua/plugins/coding.lua @@ -59,6 +59,10 @@ return { }, { -- Comment "numToStr/Comment.nvim", - opts = {}, + opts = { + opleader = { + line = "gC", + }, + }, }, }