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

263 lines
5.9 KiB
Lua
Raw Normal View History

local lazy = require('lazy')
lazy.setup({
'lewis6991/impatient.nvim',
-------------------------------------------THEMES------------------------------------------
2023-05-18 14:40:19 +01:00
{
'catppuccin/nvim',
name = "catppuccin",
lazy = false,
priority = 1000,
2024-03-03 16:58:37 +00:00
opts = {}
},
'sainnhe/gruvbox-material',
-------------------------------------------------------MFP---------------------------------
{
'susliko/tla.nvim',
2024-03-03 16:58:37 +00:00
opts = {}
},
-------------------------------------------------------QOL---------------------------------
{
2024-03-03 16:58:37 +00:00
'jbyuki/instant.nvim',
config = function()
2024-03-03 16:58:37 +00:00
vim.g.instant_username = 'afonso'
end
},
'vimpostor/vim-tpipeline',
2024-03-03 16:58:37 +00:00
{
'TobinPalmer/pastify.nvim',
cmd = { 'Pastify' },
opts = {}
},
--Python notebooks
{
'luk400/vim-jukit',
config = function()
require 'plugins.jukit'
end,
ft = { 'python', 'json' }
},
2023-09-18 07:20:52 +01:00
{
"zbirenbaum/copilot.lua",
cmd = "Copilot",
event = "InsertEnter",
config = function()
require 'plugins.copilot'
end,
},
2023-10-03 18:07:47 +01:00
--Nvim to browser
'subnut/nvim-ghost.nvim',
{
'declancm/cinnamon.nvim',
2024-03-03 16:58:37 +00:00
opts = {
scroll_limit = 10000,
always_scroll = true,
}
},
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-03 16:58:37 +00:00
opts = {}
2023-09-18 07:20:52 +01:00
},
2023-05-18 14:40:19 +01:00
{
'folke/zen-mode.nvim',
event = "VeryLazy",
2024-03-03 16:58:37 +00:00
opts = {
vim.keymap.set('n', '<leader>z', '<Cmd> ZenMode <CR>', { noremap = true, silent = true })
}
},
--Change add and remove surroundings from words
'tpope/vim-surround',
2023-09-18 07:20:52 +01:00
{
'NvChad/nvim-colorizer.lua',
2024-03-03 16:58:37 +00:00
opts = {}
},
2023-09-18 07:20:52 +01:00
2023-06-03 23:32:54 +01:00
'mbbill/undotree',
2023-05-18 14:40:19 +01:00
--Tmux navigation
{
'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>",
2023-05-18 14:40:19 +01:00
}
2024-03-03 16:58:37 +00:00
}
2023-05-18 14:40:19 +01:00
},
2023-09-27 12:46:33 +01:00
-- Rename variable pop up
'stevearc/dressing.nvim',
2023-05-18 14:40:19 +01:00
{
'windwp/nvim-autopairs',
config = function()
require 'plugins.autopairs'
end
},
'nvim-tree/nvim-web-devicons',
{
'nvim-lualine/lualine.nvim',
dependencies = { 'nvim-tree/nvim-web-devicons', opt = true },
config = function()
require 'plugins.lualine'
end
},
{
'stevearc/oil.nvim',
2024-03-03 16:58:37 +00:00
opts = {}
},
-------------------------------------------------------LSP----------------------------------------------
2023-05-18 14:40:19 +01:00
{
'hrsh7th/nvim-cmp',
dependencies = {
2023-05-18 14:40:19 +01:00
'hrsh7th/cmp-nvim-lsp', -- lsp
'hrsh7th/cmp-nvim-lua', -- Nvim API completions
'hrsh7th/cmp-nvim-lsp-signature-help', -- Show function signatures
2023-05-18 14:40:19 +01:00
'hrsh7th/cmp-buffer', --buffer completions
'hrsh7th/cmp-path', --path completions
'hrsh7th/cmp-cmdline', --cmdline completions
'L3MON4D3/LuaSnip',
'rafamadriz/friendly-snippets',
'saadparwaiz1/cmp_luasnip',
},
config = function()
require 'plugins.cmp'
end
},
--LSP Status
'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
end
},
{
"jay-babu/mason-nvim-dap.nvim",
event = "VeryLazy",
dependencies = {
"williamboman/mason.nvim",
"mfussenegger/nvim-dap",
},
opts = {
handlers = {}
},
},
{
"mfussenegger/nvim-dap",
2024-03-03 16:58:37 +00:00
config = function()
require 'plugins.dap'
end
},
2023-05-18 14:40:19 +01:00
{
'williamboman/mason.nvim',
config = function()
require 'plugins.mason'
end
},
'williamboman/mason-lspconfig.nvim',
2023-05-18 14:40:19 +01:00
{
'neovim/nvim-lspconfig',
config = function()
require 'plugins.lspconfig'
end
},
2023-05-18 14:40:19 +01:00
{
2023-10-13 10:27:18 +01:00
'nvimtools/none-ls.nvim',
event = "VeryLazy",
config = function()
2023-10-13 10:27:18 +01:00
require 'plugins.none-ls'
end
},
2023-10-03 18:07:47 +01:00
{
'lervag/vimtex',
config = function()
require 'plugins.vimtex'
end
},
2023-03-09 15:47:36 +00:00
2024-03-03 16:58:37 +00:00
{
'mrcjkb/rustaceanvim',
version = '^4', -- Recommended
ft = { 'rust' },
},
-------------------------------------------------------------------------------------------
-- Syntax Highlighting
2023-05-18 14:40:19 +01:00
{
'nvim-treesitter/nvim-treesitter',
config = function()
require 'plugins.treesitter'
end
},
'kaarmu/typst.vim',
--Sticky headers
2023-05-18 14:40:19 +01:00
{
'nvim-treesitter/nvim-treesitter-context',
config = function()
require 'plugins.treesitter-context'
end
},
"runoshun/vim-alloy",
--does so much
{
2023-05-18 14:40:19 +01:00
'nvim-telescope/telescope.nvim',
tag = '0.1.4',
-- or , branch = '0.1.x',
dependencies = { 'nvim-lua/plenary.nvim' },
config = function() require('plugins.telescope') end
},
2023-03-07 21:48:39 +00:00
--Discord Rich Presence
'andweeb/presence.nvim'
})