2024-03-17 12:32:47 +00:00
|
|
|
local lazy = require("lazy")
|
2023-01-14 04:05:17 +00:00
|
|
|
|
|
|
|
lazy.setup({
|
|
|
|
|
|
|
|
-------------------------------------------THEMES------------------------------------------
|
2023-05-18 14:40:19 +01:00
|
|
|
{
|
2024-03-17 12:32:47 +00:00
|
|
|
"catppuccin/nvim",
|
2023-11-01 22:56:14 +00:00
|
|
|
name = "catppuccin",
|
2024-05-26 16:18:00 +01:00
|
|
|
event = "VeryLazy",
|
2023-01-14 04:05:17 +00:00
|
|
|
lazy = false,
|
|
|
|
priority = 1000,
|
2024-03-17 12:32:47 +00:00
|
|
|
opts = {},
|
2023-01-14 04:05:17 +00:00
|
|
|
},
|
2024-02-12 15:05:56 +00:00
|
|
|
|
|
|
|
{
|
2024-05-26 16:18:00 +01:00
|
|
|
"sainnhe/gruvbox-material",
|
|
|
|
event = "VeryLazy",
|
|
|
|
priority = 1000,
|
2024-02-12 15:05:56 +00:00
|
|
|
},
|
2024-05-26 16:18:00 +01:00
|
|
|
|
2023-01-14 04:05:17 +00:00
|
|
|
-------------------------------------------------------QOL---------------------------------
|
2024-02-12 15:05:56 +00:00
|
|
|
|
|
|
|
{
|
2024-03-17 12:32:47 +00:00
|
|
|
"jbyuki/instant.nvim",
|
2024-05-26 16:18:00 +01:00
|
|
|
event = "VeryLazy",
|
2024-02-12 15:05:56 +00:00
|
|
|
config = function()
|
2024-03-17 12:32:47 +00:00
|
|
|
vim.g.instant_username = "afonso"
|
|
|
|
end,
|
2024-02-12 15:05:56 +00:00
|
|
|
},
|
2024-02-22 11:32:07 +00:00
|
|
|
|
2024-05-01 18:52:16 +01:00
|
|
|
{
|
|
|
|
"iamcco/markdown-preview.nvim",
|
2024-05-26 16:18:00 +01:00
|
|
|
event = "VeryLazy",
|
2024-05-01 18:52:16 +01:00
|
|
|
cmd = { "MarkdownPreviewToggle", "MarkdownPreview", "MarkdownPreviewStop" },
|
|
|
|
ft = { "markdown" },
|
|
|
|
build = function() vim.fn["mkdp#util#install"]() end,
|
|
|
|
},
|
|
|
|
|
2024-04-27 16:02:41 +01:00
|
|
|
{
|
|
|
|
"ThePrimeagen/harpoon",
|
2024-05-26 16:18:00 +01:00
|
|
|
event = "VeryLazy",
|
2024-04-27 16:02:41 +01:00
|
|
|
branch = "harpoon2",
|
|
|
|
dependencies = { "nvim-lua/plenary.nvim" },
|
|
|
|
config = function()
|
|
|
|
require("plugins.harpoon")
|
|
|
|
end
|
|
|
|
},
|
|
|
|
|
2024-05-01 18:52:16 +01:00
|
|
|
{
|
|
|
|
"vimpostor/vim-tpipeline",
|
|
|
|
config = function()
|
|
|
|
vim.g.tpipeline_restore = 1
|
|
|
|
end
|
|
|
|
},
|
2024-02-22 11:32:07 +00:00
|
|
|
|
2024-05-26 16:18:00 +01:00
|
|
|
{
|
|
|
|
"FabijanZulj/blame.nvim",
|
|
|
|
event = "VeryLazy",
|
|
|
|
config = function()
|
|
|
|
require("blame").setup()
|
|
|
|
end
|
|
|
|
},
|
|
|
|
|
2024-03-03 16:58:37 +00:00
|
|
|
{
|
2024-03-17 12:32:47 +00:00
|
|
|
"TobinPalmer/pastify.nvim",
|
2024-05-26 16:18:00 +01:00
|
|
|
event = "VeryLazy",
|
2024-03-17 12:32:47 +00:00
|
|
|
cmd = { "Pastify" },
|
|
|
|
opts = {},
|
2024-03-03 16:58:37 +00:00
|
|
|
},
|
2024-02-22 11:32:07 +00:00
|
|
|
|
2024-02-12 15:05:56 +00:00
|
|
|
--Python notebooks
|
|
|
|
{
|
2024-03-17 12:32:47 +00:00
|
|
|
"luk400/vim-jukit",
|
2024-05-26 16:18:00 +01:00
|
|
|
event = "VeryLazy",
|
2024-02-12 15:05:56 +00:00
|
|
|
config = function()
|
2024-03-17 12:32:47 +00:00
|
|
|
require("plugins.jukit")
|
2024-02-13 02:31:12 +00:00
|
|
|
end,
|
2024-03-17 12:32:47 +00:00
|
|
|
ft = { "python", "json" },
|
2024-02-12 15:05:56 +00:00
|
|
|
},
|
|
|
|
|
2023-10-03 18:07:47 +01:00
|
|
|
--Nvim to browser
|
2024-05-26 16:18:00 +01:00
|
|
|
--"subnut/nvim-ghost.nvim",
|
2023-10-03 18:07:47 +01:00
|
|
|
|
|
|
|
{
|
2024-03-17 12:32:47 +00:00
|
|
|
"declancm/cinnamon.nvim",
|
2024-03-03 16:58:37 +00:00
|
|
|
opts = {
|
|
|
|
scroll_limit = 10000,
|
|
|
|
always_scroll = true,
|
2024-03-17 12:32:47 +00:00
|
|
|
},
|
2024-01-03 15:12:33 +00:00
|
|
|
},
|
|
|
|
|
2023-09-18 07:20:52 +01:00
|
|
|
{
|
|
|
|
"folke/todo-comments.nvim",
|
2023-10-18 18:39:47 +01:00
|
|
|
event = "VeryLazy",
|
2023-09-18 07:20:52 +01:00
|
|
|
dependencies = { "nvim-lua/plenary.nvim" },
|
2024-04-27 16:02:41 +01:00
|
|
|
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" })
|
|
|
|
},
|
2023-09-18 07:20:52 +01:00
|
|
|
},
|
|
|
|
|
2023-05-18 14:40:19 +01:00
|
|
|
{
|
2024-03-17 12:32:47 +00:00
|
|
|
"folke/zen-mode.nvim",
|
2023-10-18 18:39:47 +01:00
|
|
|
event = "VeryLazy",
|
2024-03-03 16:58:37 +00:00
|
|
|
opts = {
|
2024-03-17 12:32:47 +00:00
|
|
|
vim.keymap.set("n", "<leader>z", "<Cmd> ZenMode <CR>", { noremap = true, silent = true }),
|
|
|
|
},
|
2023-01-29 02:08:14 +00:00
|
|
|
},
|
|
|
|
|
2023-01-14 04:05:17 +00:00
|
|
|
--Change add and remove surroundings from words
|
2024-03-17 12:32:47 +00:00
|
|
|
"tpope/vim-surround",
|
2023-09-18 07:20:52 +01:00
|
|
|
|
|
|
|
{
|
2024-03-17 12:32:47 +00:00
|
|
|
"NvChad/nvim-colorizer.lua",
|
|
|
|
opts = {},
|
2023-06-06 20:23:01 +01:00
|
|
|
},
|
2023-09-18 07:20:52 +01:00
|
|
|
|
2024-03-17 12:32:47 +00:00
|
|
|
"mbbill/undotree",
|
2023-06-03 23:32:54 +01:00
|
|
|
|
2023-05-18 14:40:19 +01:00
|
|
|
--Tmux navigation
|
|
|
|
{
|
2024-03-17 12:32:47 +00:00
|
|
|
"alexghergh/nvim-tmux-navigation",
|
2024-03-03 16:58:37 +00:00
|
|
|
opts = {
|
|
|
|
disable_when_zoomed = true, -- defaults to false
|
|
|
|
keybindings = {
|
|
|
|
left = "<F5>",
|
|
|
|
down = "<F6>",
|
|
|
|
up = "<F7>",
|
|
|
|
right = "<F8>",
|
2024-03-17 12:32:47 +00:00
|
|
|
},
|
|
|
|
},
|
2023-05-18 14:40:19 +01:00
|
|
|
},
|
2023-09-27 12:46:33 +01:00
|
|
|
|
2023-01-14 04:05:17 +00:00
|
|
|
-- Rename variable pop up
|
2024-05-26 16:18:00 +01:00
|
|
|
{
|
|
|
|
"stevearc/dressing.nvim",
|
|
|
|
event = "VeryLazy",
|
|
|
|
},
|
2023-01-14 04:05:17 +00:00
|
|
|
|
2023-05-18 14:40:19 +01:00
|
|
|
{
|
2024-03-17 12:32:47 +00:00
|
|
|
"windwp/nvim-autopairs",
|
2024-05-26 16:18:00 +01:00
|
|
|
event = "VeryLazy",
|
2023-05-18 14:40:19 +01:00
|
|
|
config = function()
|
2024-03-17 12:32:47 +00:00
|
|
|
require("plugins.autopairs")
|
|
|
|
end,
|
2023-01-14 04:05:17 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
{
|
2024-03-17 12:32:47 +00:00
|
|
|
"nvim-lualine/lualine.nvim",
|
|
|
|
dependencies = { "nvim-tree/nvim-web-devicons", opt = true },
|
2023-01-14 04:05:17 +00:00
|
|
|
config = function()
|
2024-03-17 12:32:47 +00:00
|
|
|
require("plugins.lualine")
|
|
|
|
end,
|
2023-01-14 04:05:17 +00:00
|
|
|
},
|
|
|
|
|
2023-05-24 12:56:22 +01:00
|
|
|
{
|
2024-03-17 12:32:47 +00:00
|
|
|
"stevearc/oil.nvim",
|
|
|
|
opts = {},
|
2023-05-20 02:40:14 +01:00
|
|
|
},
|
|
|
|
|
2023-01-14 04:05:17 +00:00
|
|
|
-------------------------------------------------------LSP----------------------------------------------
|
2023-05-18 14:40:19 +01:00
|
|
|
{
|
2024-03-17 12:32:47 +00:00
|
|
|
"hrsh7th/nvim-cmp",
|
2024-05-26 16:18:00 +01:00
|
|
|
event = "VeryLazy",
|
2023-01-14 04:05:17 +00:00
|
|
|
dependencies = {
|
2024-03-17 12:32:47 +00:00
|
|
|
"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
|
2023-01-14 04:05:17 +00:00
|
|
|
},
|
|
|
|
config = function()
|
2024-03-17 12:32:47 +00:00
|
|
|
require("plugins.cmp")
|
|
|
|
end,
|
2023-01-14 04:05:17 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
--LSP Status
|
2024-03-17 12:32:47 +00:00
|
|
|
"j-hui/fidget.nvim",
|
2023-01-14 04:05:17 +00:00
|
|
|
|
2023-10-21 15:18:59 +01:00
|
|
|
{
|
|
|
|
"rcarriga/nvim-dap-ui",
|
|
|
|
event = "VeryLazy",
|
2024-04-18 01:21:37 +01:00
|
|
|
dependencies = { "mfussenegger/nvim-dap", "nvim-neotest/nvim-nio" },
|
2023-10-21 15:18:59 +01:00
|
|
|
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
|
2024-03-17 12:32:47 +00:00
|
|
|
end,
|
2023-10-21 15:18:59 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"jay-babu/mason-nvim-dap.nvim",
|
|
|
|
event = "VeryLazy",
|
|
|
|
dependencies = {
|
|
|
|
"williamboman/mason.nvim",
|
|
|
|
"mfussenegger/nvim-dap",
|
|
|
|
},
|
|
|
|
opts = {
|
2024-03-17 12:32:47 +00:00
|
|
|
handlers = {},
|
2023-10-21 15:18:59 +01:00
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"mfussenegger/nvim-dap",
|
2024-05-26 16:18:00 +01:00
|
|
|
event = "VeryLazy",
|
2024-03-03 16:58:37 +00:00
|
|
|
config = function()
|
2024-03-17 12:32:47 +00:00
|
|
|
require("plugins.dap")
|
|
|
|
end,
|
2023-10-21 15:18:59 +01:00
|
|
|
},
|
|
|
|
|
2024-04-27 16:02:41 +01:00
|
|
|
{
|
|
|
|
'leoluz/nvim-dap-go',
|
2024-05-26 16:18:00 +01:00
|
|
|
event = "VeryLazy",
|
2024-04-27 16:02:41 +01:00
|
|
|
opts = {}
|
|
|
|
},
|
|
|
|
|
2023-05-18 14:40:19 +01:00
|
|
|
{
|
2024-03-17 12:32:47 +00:00
|
|
|
"neovim/nvim-lspconfig",
|
2024-05-26 16:18:00 +01:00
|
|
|
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
|
|
|
|
},
|
|
|
|
},
|
2023-01-14 04:05:17 +00:00
|
|
|
config = function()
|
2024-03-17 12:32:47 +00:00
|
|
|
require("plugins.lspconfig")
|
|
|
|
end,
|
2023-01-14 04:05:17 +00:00
|
|
|
},
|
2024-05-26 16:18:00 +01:00
|
|
|
|
2024-04-27 16:02:41 +01:00
|
|
|
--Better quick fix
|
2024-04-18 01:21:37 +01:00
|
|
|
{
|
2024-04-27 16:02:41 +01:00
|
|
|
'kevinhwang91/nvim-bqf',
|
2024-05-26 16:18:00 +01:00
|
|
|
event = "VeryLazy",
|
2024-04-27 16:02:41 +01:00
|
|
|
ft = 'qf'
|
2024-04-18 01:21:37 +01:00
|
|
|
},
|
2023-01-14 04:05:17 +00:00
|
|
|
|
2023-05-18 14:40:19 +01:00
|
|
|
{
|
2024-03-17 12:32:47 +00:00
|
|
|
"stevearc/conform.nvim",
|
2024-05-26 16:18:00 +01:00
|
|
|
event = "VeryLazy",
|
2023-01-14 04:05:17 +00:00
|
|
|
config = function()
|
2024-03-17 12:32:47 +00:00
|
|
|
require("plugins.conform")
|
|
|
|
end,
|
2023-01-14 04:05:17 +00:00
|
|
|
},
|
|
|
|
|
2023-10-03 18:07:47 +01:00
|
|
|
{
|
2024-03-17 12:32:47 +00:00
|
|
|
"lervag/vimtex",
|
2024-05-26 16:18:00 +01:00
|
|
|
event = "VeryLazy",
|
2023-10-03 18:07:47 +01:00
|
|
|
config = function()
|
2024-03-17 12:32:47 +00:00
|
|
|
require("plugins.vimtex")
|
|
|
|
end,
|
2023-10-03 18:07:47 +01:00
|
|
|
},
|
2023-03-09 15:47:36 +00:00
|
|
|
|
2024-04-18 01:21:37 +01:00
|
|
|
--'tpope/vim-commentary',
|
2024-03-30 16:08:40 +00:00
|
|
|
|
2024-04-18 01:21:37 +01:00
|
|
|
-- {
|
|
|
|
-- "mrcjkb/rustaceanvim",
|
|
|
|
-- version = "^4", -- Recommended
|
|
|
|
-- ft = { "rust" },
|
|
|
|
-- },
|
2024-03-03 16:58:37 +00:00
|
|
|
|
2024-05-26 16:18:00 +01:00
|
|
|
{
|
|
|
|
"barreiroleo/ltex-extra.nvim",
|
|
|
|
event = "VeryLazy",
|
|
|
|
},
|
2024-03-17 12:32:47 +00:00
|
|
|
|
2023-01-14 04:05:17 +00:00
|
|
|
-------------------------------------------------------------------------------------------
|
|
|
|
-- Syntax Highlighting
|
2023-05-18 14:40:19 +01:00
|
|
|
{
|
2024-03-17 12:32:47 +00:00
|
|
|
"nvim-treesitter/nvim-treesitter",
|
2024-05-26 16:18:00 +01:00
|
|
|
event = { "BufReadPost", "BufNewFile" },
|
2024-04-27 16:02:41 +01:00
|
|
|
dependencies = {
|
|
|
|
'nvim-treesitter/nvim-treesitter-textobjects'
|
|
|
|
},
|
2023-01-14 04:05:17 +00:00
|
|
|
config = function()
|
2024-03-17 12:32:47 +00:00
|
|
|
require("plugins.treesitter")
|
|
|
|
end,
|
2023-01-14 04:05:17 +00:00
|
|
|
},
|
|
|
|
|
2024-01-03 15:12:33 +00:00
|
|
|
|
2023-01-14 04:05:17 +00:00
|
|
|
--Sticky headers
|
2023-05-18 14:40:19 +01:00
|
|
|
{
|
2024-03-17 12:32:47 +00:00
|
|
|
"nvim-treesitter/nvim-treesitter-context",
|
2023-01-14 04:05:17 +00:00
|
|
|
config = function()
|
2024-03-17 12:32:47 +00:00
|
|
|
require("plugins.treesitter-context")
|
|
|
|
end,
|
2023-01-14 04:05:17 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
{
|
2024-05-26 16:18:00 +01:00
|
|
|
"ibhagwan/fzf-lua",
|
|
|
|
event = "VeryLazy",
|
|
|
|
dependencies = { "nvim-tree/nvim-web-devicons" },
|
2024-03-17 12:32:47 +00:00
|
|
|
config = function()
|
2024-05-26 16:18:00 +01:00
|
|
|
require('plugins.fzf-lua')
|
|
|
|
end
|
2023-01-14 04:05:17 +00:00
|
|
|
},
|
|
|
|
|
2023-03-07 21:48:39 +00:00
|
|
|
--Discord Rich Presence
|
2024-03-17 12:32:47 +00:00
|
|
|
"andweeb/presence.nvim",
|
2024-04-18 01:21:37 +01:00
|
|
|
|
2024-03-17 12:32:47 +00:00
|
|
|
--Vim be good
|
2024-05-26 16:18:00 +01:00
|
|
|
{
|
|
|
|
'ThePrimeagen/vim-be-good',
|
|
|
|
event = "VeryLazy",
|
|
|
|
},
|
2024-03-19 03:01:05 +00:00
|
|
|
|
2024-04-18 01:21:37 +01:00
|
|
|
|
2024-05-26 16:18:00 +01:00
|
|
|
--JQ
|
2024-04-18 01:21:37 +01:00
|
|
|
{
|
2024-05-26 16:18:00 +01:00
|
|
|
'jrop/jq.nvim',
|
|
|
|
event = "VeryLazy",
|
|
|
|
},
|
|
|
|
|
|
|
|
-- {
|
|
|
|
-- 'BooleanCube/keylab.nvim',
|
|
|
|
-- opts = {}
|
|
|
|
-- }
|
2023-01-14 04:05:17 +00:00
|
|
|
})
|