added commenting support

This commit is contained in:
ashincoder 2021-06-15 15:55:32 +05:30
parent 3879718cea
commit 0350571803
3 changed files with 7 additions and 0 deletions

View File

@ -5,6 +5,9 @@ require "misc-utils"
require "top-bufferline" require "top-bufferline"
require "statusline" require "statusline"
-- Commenter
require "commenter"
require("colorizer").setup() require("colorizer").setup()
require("neoscroll").setup() -- smooth scroll require("neoscroll").setup() -- smooth scroll

1
lua/commenter.lua Normal file
View File

@ -0,0 +1 @@
require('nvim_comment').setup()

View File

@ -25,6 +25,9 @@ return packer.startup(
use "windwp/nvim-autopairs" use "windwp/nvim-autopairs"
use "alvan/vim-closetag" use "alvan/vim-closetag"
-- Comment
use "terrortylor/nvim-comment"
-- snippet support -- snippet support
use "hrsh7th/vim-vsnip" use "hrsh7th/vim-vsnip"
use "rafamadriz/friendly-snippets" use "rafamadriz/friendly-snippets"