summaryrefslogtreecommitdiff
path: root/lua/packages.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/packages.lua')
-rw-r--r--lua/packages.lua50
1 files changed, 50 insertions, 0 deletions
diff --git a/lua/packages.lua b/lua/packages.lua
new file mode 100644
index 0000000..ab26af7
--- /dev/null
+++ b/lua/packages.lua
@@ -0,0 +1,50 @@
+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", -- latest stable release
+ lazypath,
+ })
+end
+vim.opt.rtp:prepend(lazypath)
+
+require("lazy").setup({
+ {
+ "nvim-telescope/telescope.nvim", tag = "0.1.1",
+ dependencies = { "nvim-lua/plenary.nvim" },
+ },
+ {
+ "Mofiqul/vscode.nvim",
+ },
+ {
+ "nvim-lualine/lualine.nvim",
+ dependencies = { "nvim-tree/nvim-web-devicons" },
+ },
+ {
+ "nvim-treesitter/nvim-treesitter",
+ dependencies = {
+ "nvim-treesitter/nvim-treesitter-textobjects",
+ },
+ build = ":TSUpdate",
+ },
+ {
+ "VonHeikemen/lsp-zero.nvim",
+ branch = "v2.x",
+ dependencies = {
+ {"neovim/nvim-lspconfig"},
+ {
+ "williamboman/mason.nvim",
+ build = function()
+ pcall(vim.cmd, "MasonUpdate")
+ end,
+ },
+ { "williamboman/mason-lspconfig.nvim" },
+ { "hrsh7th/nvim-cmp" },
+ { "hrsh7th/cmp-nvim-lsp" },
+ { "L3MON4D3/LuaSnip" },
+ },
+ },
+})