-- vim.cmd([[packadd packer.nvim]]) -- return require("packer").startup(function(use) -- use("neovim/nvim-lspconfig") -- use("lervag/vimtex") -- use({ -- "VonHeikemen/lsp-zero.nvim", -- requires = { -- { "neovim/nvim-lspconfig" }, -- { "williamboman/mason.nvim" }, -- { "williamboman/mason-lspconfig.nvim" }, -- { "hrsh7th/nvim-cmp" }, -- { "hrsh7th/cmp-buffer" }, -- { "hrsh7th/cmp-path" }, -- { "saadparwaiz1/cmp_luasnip" }, -- { "hrsh7th/cmp-nvim-lsp" }, -- { "hrsh7th/cmp-nvim-lua" }, -- { "rafamadriz/friendly-snippets" }, -- }, -- }) -- use({ -- "L3MON4D3/LuaSnip", -- tag = "v2.*", -- run = "make install_jsregexp", -- }) -- use({ -- "iamcco/markdown-preview.nvim", -- run = "cd app && npm install", -- setup = function() -- vim.g.mkdp_filetypes = { "markdown" } -- end, -- ft = { "markdown" }, -- }) -- use({ -- "windwp/nvim-autopairs", -- config = function() -- require("nvim-autopairs").setup({}) -- end, -- }) -- end) 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-lua/plenary.nvim", "airblade/vim-gitgutter", "nvim-treesitter/nvim-treesitter", "neovim/nvim-lspconfig", 'nvim-telescope/telescope.nvim', tag = '0.1.5', dependencies = { 'nvim-lua/plenary.nvim' }, "windwp/nvim-autopairs", config = function() require("nvim-autopairs").setup({}) end, { 'nvim-telescope/telescope-fzf-native.nvim', build = 'cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release && cmake --build build --config Release && cmake --install build --prefix build', keys= { {"/", false}, { "f", "Telescope find_files", desc = "Find Files" }, { "g", "Telescope live_grep", desc = "Grep" }, { "b", "Telescope buffers", desc = "Grep" }, } }, { 'numToStr/Comment.nvim', lazy = false, }, { "ms-jpq/coq_nvim", }, })