From 035057180300d76fb8c256c4770f5cf08b430b26 Mon Sep 17 00:00:00 2001
From: ashincoder <ashinant15@gmail.com>
Date: Tue, 15 Jun 2021 15:55:32 +0530
Subject: [PATCH] added commenting support

---
 init.lua           | 3 +++
 lua/commenter.lua  | 1 +
 lua/pluginList.lua | 3 +++
 3 files changed, 7 insertions(+)
 create mode 100644 lua/commenter.lua

diff --git a/init.lua b/init.lua
index 5752bd1..9251cf4 100644
--- a/init.lua
+++ b/init.lua
@@ -5,6 +5,9 @@ require "misc-utils"
 require "top-bufferline"
 require "statusline"
 
+-- Commenter
+require "commenter"
+
 require("colorizer").setup()
 require("neoscroll").setup() -- smooth scroll
 
diff --git a/lua/commenter.lua b/lua/commenter.lua
new file mode 100644
index 0000000..e1f1358
--- /dev/null
+++ b/lua/commenter.lua
@@ -0,0 +1 @@
+require('nvim_comment').setup()
diff --git a/lua/pluginList.lua b/lua/pluginList.lua
index c00fe16..643b523 100644
--- a/lua/pluginList.lua
+++ b/lua/pluginList.lua
@@ -25,6 +25,9 @@ return packer.startup(
         use "windwp/nvim-autopairs"
         use "alvan/vim-closetag"
 
+        -- Comment
+        use "terrortylor/nvim-comment"
+
         -- snippet support
         use "hrsh7th/vim-vsnip"
         use "rafamadriz/friendly-snippets"