local fn = vim.fn 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 status_ok, lazy = pcall(require, "lazy") if not status_ok then return end lazy.setup({ -- "nvim-lua/popup.nvim", -- An implementation of the Popup API from vim in Neovim { "windwp/nvim-autopairs", event = "VeryLazy" }, { "hrsh7th/nvim-cmp", event = "VeryLazy" }, -- The completion plugin { "hrsh7th/cmp-buffer", event = "VeryLazy" }, -- buffer completions { "hrsh7th/cmp-path", event = "VeryLazy" }, -- path completions { "hrsh7th/cmp-cmdline", event = "VeryLazy" }, -- cmdline completions { "saadparwaiz1/cmp_luasnip", event = "VeryLazy" }, -- snippet completions { "hrsh7th/cmp-nvim-lsp", event = "VeryLazy" }, -- snippets { "L3MON4D3/LuaSnip", event = "VeryLazy" }, --snippet engine { "rafamadriz/friendly-snippets", event = "VeryLazy" }, -- a bunch of snippets to use { "dsznajder/vscode-es7-javascript-react-snippets", run = "yarn install --frozen-lockfile && yarn compile", event = "VeryLazy" }, -- LSP { "williamboman/mason.nvim", event = "VeryLazy" }, -- simple to use language server installer { "williamboman/mason-lspconfig.nvim", event = "VeryLazy" }, { "neovim/nvim-lspconfig", event = "VeryLazy" }, -- enable LSP -- { "nvim-treesitter/nvim-treesitter-refactor", event = "VeryLazy" }, -- file explorer -- { -- 'stevearc/oil.nvim', -- opts = {}, -- -- Optional dependencies -- dependencies = { "nvim-tree/nvim-web-devicons" }, -- init = function() -- end -- }, { "nvim-neo-tree/neo-tree.nvim", branch = "v3.x", dependencies = { "nvim-lua/plenary.nvim", "nvim-tree/nvim-web-devicons", "MunifTanjim/nui.nvim", }, event = "VeryLazy" } , -- { -- "akinsho/bufferline.nvim", -- version = "*", -- dependencies = { "kyazdani42/nvim-web-devicons" }, -- }, { "ThePrimeagen/harpoon", branch = "harpoon2", dependencies = { "nvim-lua/plenary.nvim" }, event = "VeryLazy" }, { "folke/zen-mode.nvim", opts = { window = { backdrop = 1 } }, event = "VeryLazy" }, { "nvim-treesitter/nvim-treesitter", run = ":TSUpdate", event = "VeryLazy" }, { "nvimtools/none-ls.nvim", event = "VeryLazy" }, { "lukas-reineke/lsp-format.nvim", event = "VeryLazy" }, -- "Vimjas/vim-python-pep8-indent", --telescope { "nvim-telescope/telescope.nvim", event = "VeryLazy" }, { "nvim-telescope/telescope-media-files.nvim", event = "VeryLazy" }, --comment out { "tpope/vim-commentary", event = "VeryLazy" }, { "lukas-reineke/indent-blankline.nvim", event = "VeryLazy" }, { "windwp/nvim-ts-autotag", event = "VeryLazy" }, { "rebelot/kanagawa.nvim", lazy = false, priority = 1000, }, { "folke/which-key.nvim", lazy = false, }, --scrollbar { "petertriho/nvim-scrollbar", event = "VeryLazy" }, --heirline statusbar -- "rebelot/heirline.nvim", --gitsigns { "lewis6991/gitsigns.nvim", event = "VeryLazy" }, --debugging { "mfussenegger/nvim-dap", event = "VeryLazy" }, { "rcarriga/nvim-dap-ui", dependencies = { "mfussenegger/nvim-dap", "nvim-neotest/nvim-nio" }, event = { "VeryLazy" } }, -- "nvim-lualine/lualine.nvim", -- "folke/neodev.nvim", -- "MunifTanjim/nui.nvim", -- "b0o/schemastore.nvim", -- { -- 'Bekaboo/dropbar.nvim', -- -- optional, but required for fuzzy finder support -- dependencies = { -- 'nvim-telescope/telescope-fzf-native.nvim' -- } -- }, -- { -- "LunarVim/breadcrumbs.nvim", -- dependencies = { -- { "SmiteshP/nvim-navic" }, -- }, -- }, -- { -- "karb94/neoscroll.nvim", -- }, })