From 8419ce349276901b99548c8ffdcf5598ae15317c Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Thu, 30 Mar 2023 17:11:06 +0400 Subject: Installed some plugins Signed-off-by: Valentin Popov --- lua/init.lua | 2 ++ lua/plugins.lua | 6 +++++- lua/plugins/comment.lua | 1 + lua/plugins/treesitter.lua | 1 + 4 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 lua/plugins/comment.lua create mode 100644 lua/plugins/treesitter.lua (limited to 'lua') diff --git a/lua/init.lua b/lua/init.lua index 2d0ee2e..b3e80c5 100644 --- a/lua/init.lua +++ b/lua/init.lua @@ -1,2 +1,4 @@ require('plugins') +require('plugins/comment') require('plugins/lualine') +require('plugins/treesitter') diff --git a/lua/plugins.lua b/lua/plugins.lua index cfc4e08..f306c12 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -6,7 +6,11 @@ vim.cmd [[packadd packer.nvim]] return require('packer').startup(function(use) use { 'wbthomason/packer.nvim', opt = true } - use 'EdenEast/nightfox.nvim' + use { 'EdenEast/nightfox.nvim' } use { 'nvim-lualine/lualine.nvim' } + + use { 'numToStr/Comment.nvim' } + + use { 'nvim-treesitter/nvim-treesitter' } end) diff --git a/lua/plugins/comment.lua b/lua/plugins/comment.lua new file mode 100644 index 0000000..933d7b7 --- /dev/null +++ b/lua/plugins/comment.lua @@ -0,0 +1 @@ +require('Comment').setup {} diff --git a/lua/plugins/treesitter.lua b/lua/plugins/treesitter.lua new file mode 100644 index 0000000..003dbb9 --- /dev/null +++ b/lua/plugins/treesitter.lua @@ -0,0 +1 @@ +require('nvim-treesitter').setup {} -- cgit v1.2.3