about summary refs log tree commit diff stats
path: root/.config/nvim/lua/config/plg.lua
diff options
context:
space:
mode:
authorVitor Gonçalves <vitorg@tilde.team>2024-02-03 11:56:21 -0300
committerVitor Gonçalves <vitorg@tilde.team>2024-02-03 11:56:28 -0300
commit173e25046f1bf8ff5b40849fc73833889d3f157e (patch)
tree1887398570a9005c32122c00be9cba4ee784d28d /.config/nvim/lua/config/plg.lua
parent9b8432ef4c120b1e3e20276b69741445c6756a32 (diff)
downloaddots-173e25046f1bf8ff5b40849fc73833889d3f157e.tar.gz
nvim: fixed indentation, added treesitter/telescope
Diffstat (limited to '.config/nvim/lua/config/plg.lua')
-rw-r--r--.config/nvim/lua/config/plg.lua20
1 files changed, 11 insertions, 9 deletions
diff --git a/.config/nvim/lua/config/plg.lua b/.config/nvim/lua/config/plg.lua
index c08d99c..d1b9871 100644
--- a/.config/nvim/lua/config/plg.lua
+++ b/.config/nvim/lua/config/plg.lua
@@ -1,19 +1,21 @@
 -- Initialize lazy.nvim
 local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
 if not vim.loop.fs_stat(lazypath) then
-  vim.fn.system({
-    "git",
-    "clone",
-    "--filter=blob:none",
-    "https://github.com/folke/lazy.nvim.git",
-    "--branch=stable",
-    lazypath,
-  })
+    vim.fn.system({
+        "git",
+        "clone",
+        "--filter=blob:none",
+        "https://github.com/folke/lazy.nvim.git",
+        "--branch=stable",
+        lazypath,
+    })
 end
 vim.opt.rtp:prepend(lazypath)
 
 local plugins = {
-    { "ellisonleao/gruvbox.nvim", priority = 1000 , config = true, opts = ...}
+    { "ellisonleao/gruvbox.nvim", priority = 1000 , config = true, opts = ...},
+    { "nvim-treesitter/nvim-treesitter", build = ":TSUpdate" },
+    { 'nvim-telescope/telescope.nvim', tag = '0.1.5', dependencies = { 'nvim-lua/plenary.nvim' } }
 }
 
 require("lazy").setup(plugins, {})