summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/justsaumit/nvim-comment-config.lua
diff options
context:
space:
mode:
authorSaumit Dinesan <justsaumit@protonmail.com>2023-07-15 01:49:53 +0530
committerSaumit Dinesan <justsaumit@protonmail.com>2023-07-15 01:49:53 +0530
commit52264cfdf74e4b3d84b860d53250c866ac72f0a1 (patch)
tree75d62547100590fa3e331e159446c7c87cc6e88f /.config/nvim/lua/justsaumit/nvim-comment-config.lua
parenta8ea70cb0592f207f22dfb9e3beb2603adbd9ebf (diff)
nvim: Adding nvim-comment
Diffstat (limited to '.config/nvim/lua/justsaumit/nvim-comment-config.lua')
-rw-r--r--.config/nvim/lua/justsaumit/nvim-comment-config.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/.config/nvim/lua/justsaumit/nvim-comment-config.lua b/.config/nvim/lua/justsaumit/nvim-comment-config.lua
new file mode 100644
index 0000000..d71ce14
--- /dev/null
+++ b/.config/nvim/lua/justsaumit/nvim-comment-config.lua
@@ -0,0 +1,5 @@
+require('nvim_comment').setup({
+ line_mapping = "<leader>cl",
+ operator_mapping = "<leader>c",
+ comment_empty = false
+})