aboutsummaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2023-03-30 16:11:06 +0300
committerValentin Popov <valentin@popov.link>2023-03-30 16:11:06 +0300
commit8419ce349276901b99548c8ffdcf5598ae15317c (patch)
tree5bcd68f18ded3d3ba73c0bb325227ef3b21d60d3 /lua
parentaa1b9a12010b29502cbec822d3a20c0c90b34e34 (diff)
downloadnvim-config-8419ce349276901b99548c8ffdcf5598ae15317c.tar.xz
nvim-config-8419ce349276901b99548c8ffdcf5598ae15317c.zip
Installed some plugins
Signed-off-by: Valentin Popov <valentin@popov.link>
Diffstat (limited to 'lua')
-rw-r--r--lua/init.lua2
-rw-r--r--lua/plugins.lua6
-rw-r--r--lua/plugins/comment.lua1
-rw-r--r--lua/plugins/treesitter.lua1
4 files changed, 9 insertions, 1 deletions
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 {}