summaryrefslogtreecommitdiff
path: root/comment.lua
diff options
context:
space:
mode:
Diffstat (limited to 'comment.lua')
-rw-r--r--comment.lua14
1 files changed, 14 insertions, 0 deletions
diff --git a/comment.lua b/comment.lua
new file mode 100644
index 0000000..a2331a4
--- /dev/null
+++ b/comment.lua
@@ -0,0 +1,14 @@
+return {
+ {
+ "numToStr/Comment.nvim",
+ keys = { "gc", "gb" }, -- lazy-load when using these mappings
+ config = function()
+ require("Comment").setup({
+ -- your configuration here
+ padding = true, -- space between comment and line
+ sticky = true, -- keeps comment on empty lines
+ ignore = nil, -- lines to ignore
+ })
+ end,
+ },
+}