1local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
2if not vim.loop.fs_stat(lazypath) then
3 vim.fn.system({
4 "git",
5 "clone",
6 "--filter=blob:none",
7 "https://github.com/folke/lazy.nvim.git",
8 "--branch=stable", -- latest stable release
9 lazypath,
10 })
11end
12vim.opt.rtp:prepend(lazypath)
13
14local utils = require("ptero/utils")
15
16require("lazy").setup({
17 {
18 "catppuccin/nvim",
19 name = "catppuccin",
20 priority = 1000,
21 config=function() require("ptero.configs.catppuccin") end
22 },
23
24 -- better notifications
25 {
26 "rcarriga/nvim-notify",
27 config=function() require("ptero.configs.notify") end
28 },
29
30 "nvim-lua/plenary.nvim",
31
32 -- pretty colors for viewing code
33 {
34 "nvim-treesitter/nvim-treesitter",
35 build=":TSUpdate",
36 config=function() require("ptero.configs.treesitter") end
37 },
38
39 -- fuzzy find all the things
40 {
41 "nvim-telescope/telescope.nvim",
42 config=function() require("ptero.configs.telescope") end
43 },
44
45 -- git signs in the side
46 {
47 "lewis6991/gitsigns.nvim",
48 config=function() require("ptero.configs.gitsigns") end
49 },
50
51 -- completeion
52 {
53 "hrsh7th/nvim-cmp",
54 config=function() require('ptero.configs.cmp') end,
55 dependencies = {
56 "hrsh7th/cmp-buffer",
57 "hrsh7th/cmp-nvim-lsp",
58 "hrsh7th/cmp-path",
59 {
60 "saadparwaiz1/cmp_luasnip",
61 dependencies = {
62 "L3MON4D3/luasnip"
63 }
64 },
65 },
66 },
67
68 -- lsp
69 "neovim/nvim-lspconfig",
70
71 {
72 "williamboman/mason.nvim",
73 config=function() require('ptero.configs.mason') end,
74 dependencies = {
75 "williamboman/mason-lspconfig.nvim"
76 }
77 },
78
79 -- visual keybindings
80 "folke/which-key.nvim",
81})