-- Bootstrap lazy.nvim if not installed 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", lazypath }) end vim.opt.rtp:prepend(lazypath) -- Plugins require("lazy").setup({ -- Core "nvim-lua/plenary.nvim", -- UI "nvim-lualine/lualine.nvim", "nvim-tree/nvim-web-devicons", -- Treesitter { "nvim-treesitter/nvim-treesitter", build = ":TSUpdate" }, -- Telescope "nvim-telescope/telescope.nvim", -- LSP "neovim/nvim-lspconfig", -- Themes "folke/tokyonight.nvim", { 'sainnhe/sonokai', lazy = false, priority = 1000, config = function() -- Optionally configure and load the colorscheme -- directly inside the plugin declaration. vim.g.sonokai_enable_italic = true vim.cmd.colorscheme('sonokai') end }, -- Autocomplete { "hrsh7th/nvim-cmp", "hrsh7th/cmp-nvim-lsp", "hrsh7th/cmp-buffer", "hrsh7th/cmp-path", "hrsh7th/cmp-cmdline", "L3MON4D3/LuaSnip", "saadparwaiz1/cmp_luasnip", "rafamadriz/friendly-snippets", }, -- Markdown Preview Page { 'MeanderingProgrammer/render-markdown.nvim', dependencies = { 'nvim-treesitter/nvim-treesitter', 'nvim-mini/mini.nvim'}, -- if you use the mini.nvim suite -- dependencies = { 'nvim-treesitter/nvim-treesitter', 'nvim-mini/mini.icons' }, -- if you use standalone mini plugins -- dependencies = { 'nvim-treesitter/nvim-treesitter', 'nvim-tree/nvim-web-devicons' }, -- if you prefer nvim-web-devicons ---@module 'render-markdown' ---@type render.md.UserConfig opts = {}, }, -- Tabs { 'romgrk/barbar.nvim', dependencies = { 'lewis6991/gitsigns.nvim', -- OPTIONAL: for git status 'nvim-tree/nvim-web-devicons', -- OPTIONAL: for file icons }, init = function() vim.g.barbar_auto_setup = false end, opts = { -- lazy.nvim will automatically call setup for you. put your options here, anything missing will use the default: -- animation = true, -- insert_at_start = true, -- …etc. }, }, { "nvim-neo-tree/neo-tree.nvim", branch = "v3.x", dependencies = { "nvim-lua/plenary.nvim", "MunifTanjim/nui.nvim", "nvim-tree/nvim-web-devicons", -- optional, but recommended }, lazy = false, -- neo-tree will lazily load itself }, })