From 15486edb97eb1a0d14adb82f9b1a065b676c2d5e Mon Sep 17 00:00:00 2001 From: "Kenneth Benzie (Benie)" Date: Sun, 3 Mar 2024 19:47:26 +0000 Subject: [PATCH] Add comment toggle plugin --- lua/plugins/comment.lua | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 lua/plugins/comment.lua diff --git a/lua/plugins/comment.lua b/lua/plugins/comment.lua new file mode 100644 index 0000000..adcf48c --- /dev/null +++ b/lua/plugins/comment.lua @@ -0,0 +1,9 @@ +return { + 'terrortylor/nvim-comment', + config = function() + require('nvim_comment').setup({ + -- should comment out empty or whitespace only lines + comment_empty = false, + }) + end +}