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

207 lines
5.2 KiB
Lua
Raw Normal View History

local lazy = require('lazy')
lazy.setup({
'lewis6991/impatient.nvim',
-------------------------------------------THEMES------------------------------------------
'joshdick/onedark.vim',
2023-05-18 14:40:19 +01:00
{
'catppuccin/nvim',
lazy = false,
priority = 1000,
config = function()
require('plugins.catppuccin')
end
},
-------------------------------------------------------QOL---------------------------------
--better navigation with 's-letter'
2023-05-18 14:40:19 +01:00
{
'ggandor/leap.nvim',
config = function()
require('leap').add_default_mappings()
end
},
2023-05-18 14:40:19 +01:00
{
'folke/zen-mode.nvim',
config = function()
require("zen-mode").setup {
2023-05-18 14:40:19 +01:00
vim.keymap.set('n', '<leader>z', '<Cmd> ZenMode <CR>', { noremap = true, silent = true })
}
end
},
--Change add and remove surroundings from words
'tpope/vim-surround',
2023-05-18 14:40:19 +01:00
--Tmux navigation
{
'alexghergh/nvim-tmux-navigation',
config = function()
require 'nvim-tmux-navigation'.setup {
disable_when_zoomed = true, -- defaults to false
keybindings = {
left = "<F5>",
down = "<F6>",
up = "<F7>",
right = "<F8>",
}
}
end
},
-- Rename variable pop up
'stevearc/dressing.nvim',
2023-05-18 14:40:19 +01:00
{
'windwp/nvim-autopairs',
config = function()
require('nvim-autopairs').setup {}
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',
config = function()
require("oil").setup()
end
},
-------------------------------------------------------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
2023-05-18 14:40:19 +01:00
{
'j-hui/fidget.nvim',
config = function()
require('fidget').setup {
window = {
blend = 0,
}
}
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
{
'jose-elias-alvarez/null-ls.nvim',
config = function()
require 'plugins.null-ls'
end
},
2023-05-18 14:40:19 +01:00
{
'lervag/vimtex',
config = function()
require 'plugins.vimtex'
end
},
2023-03-09 15:47:36 +00:00
2023-05-18 14:40:19 +01:00
{ 'github/copilot.vim' },
-------------------------------------------------------------------------------------------
-- Syntax Highlighting
2023-05-18 14:40:19 +01:00
{
'nvim-treesitter/nvim-treesitter',
config = function()
require 'plugins.treesitter'
end
},
--Sticky headers
2023-05-18 14:40:19 +01:00
{
'nvim-treesitter/nvim-treesitter-context',
config = function()
require 'plugins.treesitter-context'
end
},
--Tabs
2023-05-18 14:40:19 +01:00
{
'akinsho/bufferline.nvim',
version = 'v3.*',
dependencies = 'nvim-tree/nvim-web-devicons',
config = function()
require("plugins.bufferline")
end
},
--does so much
{
2023-05-18 14:40:19 +01:00
'nvim-telescope/telescope.nvim',
tag = '0.1.0',
-- or , branch = '0.1.x',
dependencies = { 'nvim-lua/plenary.nvim' },
config = function() require('plugins.telescope') end
},
--Main menu
2023-05-18 14:40:19 +01:00
{
'startup-nvim/startup.nvim',
dependencies = { 'nvim-telescope/telescope.nvim', 'nvim-lua/plenary.nvim' },
config = function()
require('startup').setup { theme = 'dashboard' }
end,
},
2023-03-07 21:48:39 +00:00
-------------------------------------------OTHERS----------------------------------------------
{
"nvim-neorg/neorg",
build = ":Neorg sync-parsers",
opts = {
load = {
["core.defaults"] = {}, -- Loads default behaviour
2023-05-16 01:48:24 +01:00
["core.concealer"] = {} -- Adds pretty icons to your documents
2023-03-07 21:48:39 +00:00
},
},
dependencies = { { "nvim-lua/plenary.nvim" } },
},
2023-03-07 21:48:39 +00:00
'kmonad/kmonad-vim',
'elkowar/yuck.vim',
--Discord Rich Presence
'andweeb/presence.nvim'
})