nvim/lua/plugins.lua
2024-09-08 18:27:01 -04:00

201 lines
3.9 KiB
Lua

local plugins = {
{
"christoomey/vim-titlecase"
},
{
"kylechui/nvim-surround",
version = "*", -- Use for stability; omit to use `main` branch for the latest features
event = "VeryLazy",
config = function()
require("nvim-surround").setup({
keymaps = {
visual = "<leader>s",
visual_line = "<leader>s"
}
})
end,
},
{
"akinsho/bufferline.nvim",
version = "*",
dependencies = "nvim-tree/nvim-web-devicons",
},
{
"akinsho/toggleterm.nvim",
},
{
dir = "/home/meyer/dev/lua/vencord.nvim",
},
{
"nvim-telescope/telescope-fzf-native.nvim",
build = "make",
},
{
"kdheepak/lazygit.nvim",
cmd = {
"LazyGit",
"LazyGitConfig",
"LazyGitCurrentFile",
"LazyGitFilter",
"LazyGitFilterCurrentFile",
},
-- optional for floating window border decoration
dependencies = {
"nvim-lua/plenary.nvim",
},
-- setting the keybinding for LazyGit with 'keys' is recommended in
-- order to load the plugin when the command is run for the first time
keys = {
{ "<leader>lg", "<cmd>LazyGit<cr>", desc = "LazyGit" },
},
},
{
"mfussenegger/nvim-jdtls",
},
{
"olrtg/nvim-emmet",
},
{
"lambdalisue/suda.vim",
},
{
"sadan4/eregex.vim",
},
{
"windwp/nvim-ts-autotag",
},
{
"barrett-ruth/live-server.nvim",
build = "pnpm add -g live-server",
cmd = { "LiveServerStart", "LiveServerStop" },
config = true,
},
{
"iamcco/markdown-preview.nvim",
cmd = { "MarkdownPreviewToggle", "MarkdownPreview", "MarkdownPreviewStop" },
ft = { "markdown" },
build = function()
vim.fn["mkdp#util#install"]()
end,
},
{
"nvim-lualine/lualine.nvim",
dependencies = { "nvim-tree/nvim-web-devicons" },
},
{
"andweeb/presence.nvim",
},
{
"jose-elias-alvarez/null-ls.nvim",
},
-- {
-- "MunifTanjim/eslint.nvim",
-- },
{
"williamboman/mason.nvim",
},
{
"ray-x/lsp_signature.nvim",
},
{
"williamboman/mason-lspconfig.nvim",
},
{
"neovim/nvim-lspconfig",
},
{ "folke/neodev.nvim", opts = {} },
{
"p00f/clangd_extensions.nvim",
},
{
"folke/trouble.nvim",
dependencies = { "nvim-tree/nvim-web-devicons" },
opts = {},
},
{
"abecodes/tabout.nvim",
lazy = false,
requires = {
"nvim-treesitter/nvim-treesitter",
"L3MON4D3/LuaSnip",
"hrsh7th/nvim-cmp",
},
event = "InsertCharPre", -- Set the event to 'InsertCharPre' for better compatibility
priority = 1000,
},
{
"nvim-treesitter/nvim-treesitter",
build = ":TSUpdate",
},
{
"numToStr/Comment.nvim",
opts = {
-- add any options here
},
lazy = false,
},
{
"windwp/nvim-autopairs",
event = "InsertEnter",
config = true,
-- use opts = {} for passing setup options
-- this is equalent to setup({}) function
opts = {},
},
{
"folke/tokyonight.nvim",
lazy = false,
priority = 1000,
opts = {},
},
{
"mhartington/formatter.nvim",
},
{
"nvim-telescope/telescope.nvim",
tag = "0.1.5",
opts = {
extensions = {
fzf = {
fuzzy = true, -- false will only do exact matching
override_generic_sorter = true, -- override the generic sorter
override_file_sorter = true, -- override the file sorter
case_mode = "ignore_case", -- or "ignore_case" or "respect_case" or smart_case
-- the default case_mode is "smart_case"
},
},
},
dependencies = { "nvim-lua/plenary.nvim" },
},
{
"hrsh7th/cmp-nvim-lsp",
},
{
"hrsh7th/nvim-cmp",
},
{
"L3MON4D3/LuaSnip",
-- follow latest release.
version = "v2.*", -- Replace <CurrentMajor> by the latest released major (first number of latest release)
-- install jsregexp (optional!).
build = "make install_jsregexp",
},
{
"saadparwaiz1/cmp_luasnip",
},
{
"nvim-tree/nvim-tree.lua",
},
{
"kevinhwang91/nvim-ufo",
dependencies = { "kevinhwang91/promise-async" },
},
--{
-- 'mfussenegger/nvim-lint'
--},
}
local opts = {}
require("lazy").setup(plugins, opts)