local lazy = require("lazy") lazy.setup({ -------------------------------------------THEMES------------------------------------------ { "catppuccin/nvim", name = "catppuccin", event = "VeryLazy", lazy = false, priority = 1000, opts = {}, }, { "sainnhe/gruvbox-material", event = "VeryLazy", priority = 1000, }, -------------------------------------------------------QOL--------------------------------- { "jbyuki/instant.nvim", event = "VeryLazy", config = function() vim.g.instant_username = "afonso" end, }, { "iamcco/markdown-preview.nvim", event = "VeryLazy", cmd = { "MarkdownPreviewToggle", "MarkdownPreview", "MarkdownPreviewStop" }, ft = { "markdown" }, build = function() vim.fn["mkdp#util#install"]() end, }, { "ThePrimeagen/harpoon", event = "VeryLazy", branch = "harpoon2", dependencies = { "nvim-lua/plenary.nvim" }, config = function() require("plugins.harpoon") end }, { "vimpostor/vim-tpipeline", config = function() vim.g.tpipeline_restore = 1 end }, { "FabijanZulj/blame.nvim", event = "VeryLazy", config = function() require("blame").setup() end }, { "TobinPalmer/pastify.nvim", event = "VeryLazy", cmd = { "Pastify" }, opts = {}, }, --Python notebooks { "luk400/vim-jukit", event = "VeryLazy", config = function() require("plugins.jukit") end, ft = { "python", "json" }, }, --Nvim to browser --"subnut/nvim-ghost.nvim", { "declancm/cinnamon.nvim", opts = { scroll_limit = 10000, always_scroll = true, }, }, { "folke/todo-comments.nvim", event = "VeryLazy", dependencies = { "nvim-lua/plenary.nvim" }, opts = { vim.keymap.set("n", "]t", function() require("todo-comments").jump_next() end, { desc = "Next todo comment" }), vim.keymap.set("n", "[t", function() require("todo-comments").jump_prev() end, { desc = "Previous todo comment" }) }, }, { "folke/zen-mode.nvim", event = "VeryLazy", opts = { vim.keymap.set("n", "z", " ZenMode ", { noremap = true, silent = true }), }, }, --Change add and remove surroundings from words "tpope/vim-surround", { "NvChad/nvim-colorizer.lua", opts = {}, }, "mbbill/undotree", --Tmux navigation { "alexghergh/nvim-tmux-navigation", opts = { disable_when_zoomed = true, -- defaults to false keybindings = { left = "", down = "", up = "", right = "", }, }, }, -- Rename variable pop up { "stevearc/dressing.nvim", event = "VeryLazy", }, { "windwp/nvim-autopairs", event = "VeryLazy", config = function() require("plugins.autopairs") end, }, { "nvim-lualine/lualine.nvim", dependencies = { "nvim-tree/nvim-web-devicons", opt = true }, config = function() require("plugins.lualine") end, }, { "stevearc/oil.nvim", opts = {}, }, -------------------------------------------------------LSP---------------------------------------------- { "hrsh7th/nvim-cmp", event = "VeryLazy", dependencies = { "hrsh7th/cmp-nvim-lsp", -- lsp "hrsh7th/cmp-nvim-lua", -- Nvim API completions "hrsh7th/cmp-nvim-lsp-signature-help", -- Show function signatures "hrsh7th/cmp-buffer", --buffer completions "hrsh7th/cmp-path", --path completions "hrsh7th/cmp-cmdline", --cmdline completions "L3MON4D3/LuaSnip", "rafamadriz/friendly-snippets", "saadparwaiz1/cmp_luasnip", "onsails/lspkind.nvim", --lspkind icons }, config = function() require("plugins.cmp") end, }, --LSP Status "j-hui/fidget.nvim", { "rcarriga/nvim-dap-ui", event = "VeryLazy", dependencies = { "mfussenegger/nvim-dap", "nvim-neotest/nvim-nio" }, config = function() local dap = require("dap") local dapui = require("dapui") dapui.setup() dap.listeners.after.event_initialized["dapui_config"] = function() dapui.open() end dap.listeners.before.event_terminated["dapui_config"] = function() dapui.close() end dap.listeners.before.event_exited["dapui_config"] = function() dapui.close() end end, }, { "jay-babu/mason-nvim-dap.nvim", event = "VeryLazy", dependencies = { "williamboman/mason.nvim", "mfussenegger/nvim-dap", }, opts = { handlers = {}, }, }, { "mfussenegger/nvim-dap", event = "VeryLazy", config = function() require("plugins.dap") end, }, { 'leoluz/nvim-dap-go', event = "VeryLazy", opts = {} }, { "neovim/nvim-lspconfig", event = { "BufReadPost", "BufNewFile" }, dependencies = { { "williamboman/mason-lspconfig.nvim", dependencies = { { "williamboman/mason.nvim", config = function() require("plugins.mason") end, }, }, config = function() require("plugins.mason-lspconfig") end }, }, config = function() require("plugins.lspconfig") end, }, --Better quick fix { 'kevinhwang91/nvim-bqf', event = "VeryLazy", ft = 'qf' }, { "stevearc/conform.nvim", event = "VeryLazy", config = function() require("plugins.conform") end, }, { "lervag/vimtex", event = "VeryLazy", config = function() require("plugins.vimtex") end, }, --'tpope/vim-commentary', -- { -- "mrcjkb/rustaceanvim", -- version = "^4", -- Recommended -- ft = { "rust" }, -- }, { "barreiroleo/ltex-extra.nvim", event = "VeryLazy", }, ------------------------------------------------------------------------------------------- -- Syntax Highlighting { "nvim-treesitter/nvim-treesitter", event = { "BufReadPost", "BufNewFile" }, dependencies = { 'nvim-treesitter/nvim-treesitter-textobjects' }, config = function() require("plugins.treesitter") end, }, --Sticky headers { "nvim-treesitter/nvim-treesitter-context", config = function() require("plugins.treesitter-context") end, }, { "ibhagwan/fzf-lua", event = "VeryLazy", dependencies = { "nvim-tree/nvim-web-devicons" }, config = function() require('plugins.fzf-lua') end }, --Discord Rich Presence "andweeb/presence.nvim", --Vim be good { 'ThePrimeagen/vim-be-good', event = "VeryLazy", }, --JQ { 'jrop/jq.nvim', event = "VeryLazy", }, -- { -- 'BooleanCube/keylab.nvim', -- opts = {} -- } })