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) local utils = require("ptero/utils") require("lazy").setup({ { "catppuccin/nvim", name = "catppuccin", priority = 1000 }, -- better notifications { "rcarriga/nvim-notify", config=function() require("ptero.configs.notify") end }, "nvim-lua/plenary.nvim", -- pretty colors for viewing code { "nvim-treesitter/nvim-treesitter", build=":TSUpdate", config=function() require("ptero.configs.treesitter") end }, -- fuzzy find all the things { "nvim-telescope/telescope.nvim", config=function() require("ptero.configs.telescope") end }, -- git signs in the side { "lewis6991/gitsigns.nvim", config=function() require("ptero.configs.gitsigns") end }, -- completeion { "hrsh7th/nvim-cmp", config=function() require('ptero.configs.cmp') end, dependencies = { "hrsh7th/cmp-buffer", "hrsh7th/cmp-nvim-lsp", "hrsh7th/cmp-path", { "saadparwaiz1/cmp_luasnip", dependencies = { "L3MON4D3/luasnip" } }, }, }, -- lsp "neovim/nvim-lspconfig", { "williamboman/mason.nvim", config=function() require('ptero.configs.mason') end, dependencies = { "williamboman/mason-lspconfig.nvim" } }, -- visual keybindings "folke/which-key.nvim", })