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 plugins = { { "neoclide/coc.nvim", branch = "release", build = "yarn install --frozen-lockfile" }, { "bluz71/vim-nightfly-colors", name = "nightfly", lazy = true, priority = 1000 }, { "nvim-tree/nvim-tree.lua", version = "*", dependencies = { "nvim-tree/nvim-web-devicons", }, config = function() require("nvim-tree").setup {} end, }, -- fuzzy finding { 'nvim-telescope/telescope.nvim', tag = '0.1.1', dependencies = { 'nvim-lua/plenary.nvim' } }, { "nvim-telescope/telescope-fzf-native.nvim", build = "make", }, -- completion { "hrsh7th/nvim-cmp", dependencies = { "hrsh7th/cmp-buffer", "hrsh7th/cmp-path", } }, -- snippet { "L3MON4D3/LuaSnip", "saadparwaiz1/cmp_luasnip", "rafamadriz/friendly-snippets", }, -- treesitter { "nvim-treesitter/nvim-treesitter", run = function() require("nvim-treesitter.install").update({ with_sync = true }) end, }, -- auto closing { "windwp/nvim-autopairs", "windwp/nvim-ts-autotag", }, "lewis6991/gitsigns.nvim", "nvim-lualine/lualine.nvim", "numToStr/Comment.nvim", "tpope/vim-surround", "vim-scripts/ReplaceWithRegister", } require("lazy").setup(plugins)