dotfiles/.config/nvim/lua/plugins/lazy.lua

272 lines
6.1 KiB
Lua
Raw Normal View History

2024-03-17 12:32:47 +00:00
local lazy = require("lazy")
lazy.setup({
2024-03-17 12:32:47 +00:00
"lewis6991/impatient.nvim",
-------------------------------------------THEMES------------------------------------------
2023-05-18 14:40:19 +01:00
{
2024-03-17 12:32:47 +00:00
"catppuccin/nvim",
name = "catppuccin",
lazy = false,
priority = 1000,
2024-03-17 12:32:47 +00:00
opts = {},
},
2024-03-17 12:32:47 +00:00
"sainnhe/gruvbox-material",
-------------------------------------------------------MFP---------------------------------
{
2024-03-17 12:32:47 +00:00
"susliko/tla.nvim",
opts = {},
},
-------------------------------------------------------QOL---------------------------------
{
2024-03-17 12:32:47 +00:00
"jbyuki/instant.nvim",
config = function()
2024-03-17 12:32:47 +00:00
vim.g.instant_username = "afonso"
end,
},
2024-03-17 12:32:47 +00:00
"vimpostor/vim-tpipeline",
2024-03-03 16:58:37 +00:00
{
2024-03-17 12:32:47 +00:00
"TobinPalmer/pastify.nvim",
cmd = { "Pastify" },
opts = {},
2024-03-03 16:58:37 +00:00
},
--Python notebooks
{
2024-03-17 12:32:47 +00:00
"luk400/vim-jukit",
config = function()
2024-03-17 12:32:47 +00:00
require("plugins.jukit")
end,
2024-03-17 12:32:47 +00:00
ft = { "python", "json" },
},
2023-09-18 07:20:52 +01:00
{
"zbirenbaum/copilot.lua",
cmd = "Copilot",
event = "InsertEnter",
config = function()
2024-03-17 12:32:47 +00:00
require("plugins.copilot")
2023-09-18 07:20:52 +01:00
end,
},
2023-10-03 18:07:47 +01:00
--Nvim to browser
2024-03-17 12:32:47 +00: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
},
},
2023-09-18 07:20:52 +01:00
{
"folke/todo-comments.nvim",
event = "VeryLazy",
2023-09-18 07:20:52 +01:00
dependencies = { "nvim-lua/plenary.nvim" },
2024-03-17 12:32:47 +00:00
opts = {},
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",
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 }),
},
},
--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-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
-- Rename variable pop up
2024-03-17 12:32:47 +00:00
"stevearc/dressing.nvim",
2023-05-18 14:40:19 +01:00
{
2024-03-17 12:32:47 +00:00
"windwp/nvim-autopairs",
2023-05-18 14:40:19 +01:00
config = function()
2024-03-17 12:32:47 +00:00
require("plugins.autopairs")
end,
},
2024-03-17 12:32:47 +00:00
"nvim-tree/nvim-web-devicons",
{
2024-03-17 12:32:47 +00:00
"nvim-lualine/lualine.nvim",
dependencies = { "nvim-tree/nvim-web-devicons", opt = true },
config = function()
2024-03-17 12:32:47 +00:00
require("plugins.lualine")
end,
},
{
2024-03-17 12:32:47 +00:00
"stevearc/oil.nvim",
opts = {},
},
-------------------------------------------------------LSP----------------------------------------------
2023-05-18 14:40:19 +01:00
{
2024-03-17 12:32:47 +00:00
"hrsh7th/nvim-cmp",
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
},
config = function()
2024-03-17 12:32:47 +00:00
require("plugins.cmp")
end,
},
--LSP Status
2024-03-17 12:32:47 +00:00
"j-hui/fidget.nvim",
{
"rcarriga/nvim-dap-ui",
event = "VeryLazy",
dependencies = "mfussenegger/nvim-dap",
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,
},
{
"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 = {},
},
},
{
"mfussenegger/nvim-dap",
2024-03-03 16:58:37 +00:00
config = function()
2024-03-17 12:32:47 +00:00
require("plugins.dap")
end,
},
2023-05-18 14:40:19 +01:00
{
2024-03-17 12:32:47 +00:00
"williamboman/mason.nvim",
config = function()
2024-03-17 12:32:47 +00:00
require("plugins.mason")
end,
},
2024-03-17 12:32:47 +00:00
"williamboman/mason-lspconfig.nvim",
2023-05-18 14:40:19 +01:00
{
2024-03-17 12:32:47 +00:00
"neovim/nvim-lspconfig",
config = function()
2024-03-17 12:32:47 +00:00
require("plugins.lspconfig")
end,
},
2023-05-18 14:40:19 +01:00
{
2024-03-17 12:32:47 +00:00
"stevearc/conform.nvim",
config = function()
2024-03-17 12:32:47 +00:00
require("plugins.conform")
end,
},
2023-10-03 18:07:47 +01:00
{
2024-03-17 12:32:47 +00:00
"lervag/vimtex",
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-03-03 16:58:37 +00:00
{
2024-03-17 12:32:47 +00:00
"mrcjkb/rustaceanvim",
version = "^4", -- Recommended
ft = { "rust" },
2024-03-03 16:58:37 +00:00
},
2024-03-17 12:32:47 +00:00
"barreiroleo/ltex-extra.nvim",
-------------------------------------------------------------------------------------------
-- Syntax Highlighting
2023-05-18 14:40:19 +01:00
{
2024-03-17 12:32:47 +00:00
"nvim-treesitter/nvim-treesitter",
config = function()
2024-03-17 12:32:47 +00:00
require("plugins.treesitter")
end,
},
2024-03-17 12:32:47 +00:00
"kaarmu/typst.vim",
--Sticky headers
2023-05-18 14:40:19 +01:00
{
2024-03-17 12:32:47 +00:00
"nvim-treesitter/nvim-treesitter-context",
config = function()
2024-03-17 12:32:47 +00:00
require("plugins.treesitter-context")
end,
},
"runoshun/vim-alloy",
--does so much
{
2024-03-17 12:32:47 +00:00
"nvim-telescope/telescope.nvim",
tag = "0.1.4",
-- or , branch = '0.1.x',
2024-03-17 12:32:47 +00:00
dependencies = { "nvim-lua/plenary.nvim" },
config = function()
require("plugins.telescope")
end,
},
2023-03-07 21:48:39 +00:00
--Discord Rich Presence
2024-03-17 12:32:47 +00:00
"andweeb/presence.nvim",
--Vim be good
'ThePrimeagen/vim-be-good',
--JQ
'jrop/jq.nvim'
})