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 = { "williamboman/mason.nvim", "williamboman/mason-lspconfig.nvim", { "neovim/nvim-lspconfig", dependencies = { 'hrsh7th/cmp-nvim-lsp' } }, { 'projekt0n/github-nvim-theme', name = 'github-theme', lazy = false, -- make sure we load this during startup if it is your main colorscheme priority = 1000, -- make sure to load this before all the other start plugins config = function() require('github-theme').setup({ -- ... }) vim.cmd('colorscheme github_light_colorblind') -- vim.cmd('colorscheme github_light') -- vim.cmd('colorscheme github_dark_colorblind') -- vim.cmd('colorscheme github_dark') end, }, { "nvim-telescope/telescope-file-browser.nvim", dependencies = { "nvim-telescope/telescope.nvim", "nvim-lua/plenary.nvim" } }, 'hrsh7th/nvim-cmp', -- Auto-completion plugin dependencies = { 'hrsh7th/cmp-nvim-lsp', -- LSP source for nvim-cmp 'hrsh7th/cmp-buffer', -- Buffer source for nvim-cmp 'hrsh7th/cmp-path', -- Path source for nvim-cmp }, 'L3MON4D3/LuaSnip', } require("lazy").setup(plugins) require("plugins/telescope") require("plugins/completions")