aboutsummaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
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 {}