mirror of
https://github.com/olexsmir/dotfiles.git
synced 2026-01-15 08:41:34 +02:00
163 lines
3.5 KiB
Lua
163 lines
3.5 KiB
Lua
return require("packer").startup(function(use)
|
|
use "wbthomason/packer.nvim"
|
|
use "nvim-lua/plenary.nvim"
|
|
use "Mofiqul/vscode.nvim"
|
|
use "kyazdani42/nvim-web-devicons"
|
|
use "romgrk/barbar.nvim"
|
|
use { "dstein64/vim-startuptime", cmd = "StartupTime" }
|
|
|
|
use {
|
|
"pwntester/octo.nvim",
|
|
cmd = "Octo",
|
|
opt = true,
|
|
config = function()
|
|
require("octo").setup()
|
|
end,
|
|
}
|
|
|
|
use {
|
|
"numToStr/Comment.nvim",
|
|
config = function()
|
|
require("Comment").setup()
|
|
end,
|
|
}
|
|
|
|
use {
|
|
"windwp/nvim-autopairs",
|
|
config = function()
|
|
require("nvim-autopairs").setup()
|
|
end,
|
|
}
|
|
|
|
use {
|
|
"neovim/nvim-lspconfig",
|
|
requires = {
|
|
"williamboman/nvim-lsp-installer",
|
|
{ "jose-elias-alvarez/null-ls.nvim", after = "nvim-lspconfig" },
|
|
},
|
|
config = function()
|
|
require("lsp").setup()
|
|
end,
|
|
}
|
|
|
|
use {
|
|
"ahmedkhalf/project.nvim",
|
|
config = function()
|
|
require("plugin.project").setup()
|
|
end,
|
|
}
|
|
|
|
use {
|
|
"mfussenegger/nvim-dap",
|
|
module = "dap",
|
|
requires = {
|
|
{ "Pocco81/DAPInstall.nvim", requires = "nvim-dap" },
|
|
{ "theHamsta/nvim-dap-virtual-text", after = "nvim-dap", config = [[ require"nvim-dap-virtual-text".setup() ]] },
|
|
{ "nvim-telescope/telescope-dap.nvim", after = "nvim-dap", config = [[ require("telescope").load_extension "dap" ]] },
|
|
},
|
|
config = function()
|
|
require("plugin.dap").setup()
|
|
end,
|
|
}
|
|
|
|
use {
|
|
"ray-x/go.nvim",
|
|
ft = "go",
|
|
opt = true,
|
|
config = function()
|
|
require("go").setup { gofmt = "gofumpt" }
|
|
end,
|
|
}
|
|
|
|
use {
|
|
"lewis6991/gitsigns.nvim",
|
|
config = function()
|
|
require("plugin.gitsigns").setup()
|
|
end,
|
|
}
|
|
|
|
use {
|
|
"nvim-lualine/lualine.nvim",
|
|
config = function()
|
|
require("plugin.statusline").setup()
|
|
end,
|
|
}
|
|
|
|
use {
|
|
"rcarriga/vim-ultest",
|
|
requires = { { "vim-test/vim-test", after = "vim-ultest" } },
|
|
cmd = { "Ultest", "UltestStop", "UltestClear", "UltestNearest", "UltestOutput" },
|
|
run = ":UpdateRemotePlugins",
|
|
config = function()
|
|
require("plugin.ultest").setup()
|
|
end,
|
|
}
|
|
|
|
use {
|
|
"hrsh7th/nvim-cmp",
|
|
requires = {
|
|
{ "hrsh7th/cmp-nvim-lua", after = "nvim-cmp" },
|
|
{ "hrsh7th/cmp-nvim-lsp", after = "nvim-cmp" },
|
|
{ "hrsh7th/cmp-buffer", after = "nvim-cmp" },
|
|
{
|
|
"saadparwaiz1/cmp_luasnip",
|
|
requires = {
|
|
{ "L3MON4D3/LuaSnip", after = "cmp_luasnip" },
|
|
{ "rafamadriz/friendly-snippets", after = "LuaSnip" },
|
|
},
|
|
},
|
|
},
|
|
config = function()
|
|
require("plugin.cmp").setup()
|
|
end,
|
|
}
|
|
|
|
use {
|
|
"max397574/better-escape.nvim",
|
|
config = function()
|
|
require("better_escape").setup { mapping = { "jk" } }
|
|
end,
|
|
}
|
|
|
|
use {
|
|
"nvim-telescope/telescope.nvim",
|
|
cmd = "Telescope",
|
|
module = "telescope",
|
|
config = function()
|
|
require("plugin.telescope").setup()
|
|
end,
|
|
}
|
|
|
|
use {
|
|
"kyazdani42/nvim-tree.lua",
|
|
cmd = "NvimTreeToggle",
|
|
config = function()
|
|
require("plugin.nvimtree").setup()
|
|
end,
|
|
}
|
|
|
|
use {
|
|
"nvim-treesitter/nvim-treesitter",
|
|
branch = "0.5-compat",
|
|
config = function()
|
|
require("plugin.treesitter").setup()
|
|
end,
|
|
}
|
|
|
|
use {
|
|
"Smirnov-O/ts-unit.nvim",
|
|
after = "nvim-treesitter",
|
|
config = function()
|
|
require("ts-unit").setup { keymaps = true }
|
|
end,
|
|
}
|
|
|
|
use {
|
|
"akinsho/toggleterm.nvim",
|
|
module = "toggleterm",
|
|
keys = "<C-t>",
|
|
config = function()
|
|
require("plugin.terminal").setup()
|
|
end,
|
|
}
|
|
end)
|