LunarVim.LunarVim/lua/lvim/plugins.lua

278 lines
7.6 KiB
Lua
Raw Normal View History

local commit = {
barbar = "6e638309efcad2f308eb9c5eaccf6f62b794bbab",
2022-01-04 10:22:52 +01:00
cmp_buffer = "f83773e2f433a923997c5faad7ea689ec24d1785",
cmp_luasnip = "d6f837f4e8fe48eeae288e638691b91b97d1737f",
2022-01-05 20:18:24 +01:00
cmp_nvim_lsp = "b4251f0fca1daeb6db5d60a23ca81507acf858c2",
2022-01-02 17:07:40 +03:30
cmp_path = "4d58224e315426e5ac4c5b218ca86cab85f80c79",
2022-01-04 10:22:52 +01:00
comment = "90df2f87c0b17193d073d1f72cea2e528e5b162d",
dapinstall = "568d946a99edb6780912cb39ca68c368516cd853",
dashboard_nvim = "d82ddae95fd4dc4c3b7bbe87f09b1840fbf20ecb",
fixcursorhold = "0e4e22d21975da60b0fd2d302285b3b603f9f71e",
2022-01-04 10:22:52 +01:00
friendly_snippets = "9f04462bcabfd108341a6e47ed742b09a6a5b975",
gitsigns = "7aad5257fa043b9acf3d40ae064a1685003254da",
2022-01-02 17:07:40 +03:30
lua_dev = "03a44ec6a54b0a025a633978e8541584a02e46d9",
lualine = "bc5c2f5658821f98e55013eb3bec9d540c420470",
luasnip = "79662d8bb61bbee6af88bf559d9ed41c28eb5b88",
nlsp_settings = "1d74d46627204bb9bc32787b6d1360874ce9ae1d",
null_ls = "288c4582f62f04944412acaed098fc16a1818464",
nvim_autopairs = "c027bbb7eb417ad0be7d5263b66c1638e971e36b",
nvim_cmp = "ce0a3581e0fa6e3072bf06a97919d3e214ff00e6",
nvim_dap = "3499eb4368fa5835de761b4f6cd53f7bf0bd02f7",
nvim_lsp_installer = "a744a2a1c7fb9830b156a57a1327a6593f9b5bf8",
nvim_lspconfig = "2c70b7b0095b4bbe55aaf0dc27a2581d1cafe491",
2022-01-02 17:07:40 +03:30
nvim_notify = "15f52efacd169ea26b0f4070451d3ea53f98cd5a",
nvim_tree = "0a2f6b0b6ba558a88c77a6b262af647760e6eca8",
nvim_treesitter = "ed6143940c37c5c18625d46c071563a3b4338e72",
2021-12-14 12:54:38 +01:00
nvim_ts_context_commentstring = "097df33c9ef5bbd3828105e4bee99965b758dc3f",
nvim_web_devicons = "ac71ca88b1136e1ecb2aefef4948130f31aa40d1",
packer = "851c62c5ecd3b5adc91665feda8f977e104162a5",
2022-01-05 20:18:24 +01:00
plenary = "563d9f6d083f0514548f2ac4ad1888326d0a1c66",
popup = "b7404d35d5d3548a82149238289fa71f7f6de4ac",
project = "71d0e23dcfc43cfd6bb2a97dc5a7de1ab47a6538",
structlog = "6f1403a192791ff1fa7ac845a73de9e860f781f1",
telescope = "015a35626d5a293dc9c19dc2bb301f25850961f6",
telescope_fzf_native = "b8662b076175e75e6497c59f3e2799b879d7b954",
toggleterm = "463843d1ba0288eedaf834872c3eca114d45bddf",
which_key = "312c386ee0eafc925c27869d2be9c11ebdb807eb",
}
return {
2021-07-06 23:22:46 -04:00
-- Packer can manage itself as an optional plugin
2021-11-05 19:05:54 -04:00
{ "wbthomason/packer.nvim", commit = commit.packer },
{ "neovim/nvim-lspconfig", commit = commit.nvim_lspconfig },
2021-11-05 19:05:54 -04:00
{ "tamago324/nlsp-settings.nvim", commit = commit.nlsp_settings },
2021-11-16 14:55:45 +00:00
{
"jose-elias-alvarez/null-ls.nvim",
commit = commit.null_ls,
},
{ "antoinemadec/FixCursorHold.nvim", commit = commit.fixcursorhold }, -- Needed while issue https://github.com/neovim/neovim/issues/12587 is still open
{
"williamboman/nvim-lsp-installer",
commit = commit.nvim_lsp_installer,
},
{
"rcarriga/nvim-notify",
commit = commit.nvim_notify,
disable = not lvim.builtin.notify.active,
config = function()
require("lvim.core.notify").setup()
end,
event = "BufRead",
},
2021-11-05 19:05:54 -04:00
{ "Tastyep/structlog.nvim", commit = commit.structlog },
2021-07-10 13:27:52 -04:00
2021-11-05 19:05:54 -04:00
{ "nvim-lua/popup.nvim", commit = commit.popup },
{ "nvim-lua/plenary.nvim", commit = commit.plenary },
2021-07-10 03:19:44 -04:00
-- Telescope
{
2021-07-06 23:22:46 -04:00
"nvim-telescope/telescope.nvim",
commit = commit.telescope,
config = function()
require("lvim.core.telescope").setup()
end,
disable = not lvim.builtin.telescope.active,
},
{
"nvim-telescope/telescope-fzf-native.nvim",
commit = commit.telescope_fzf_native,
run = "make",
disable = not lvim.builtin.telescope.active,
},
2021-09-07 19:23:14 -04:00
-- Install nvim-cmp, and buffer source as a dependency
{
2021-09-07 19:23:14 -04:00
"hrsh7th/nvim-cmp",
commit = commit.nvim_cmp,
2021-07-06 23:22:46 -04:00
config = function()
if lvim.builtin.cmp then
require("lvim.core.cmp").setup()
end
end,
requires = {
"L3MON4D3/LuaSnip",
"rafamadriz/friendly-snippets",
},
},
{
"rafamadriz/friendly-snippets",
commit = commit.friendly_snippets,
},
2021-11-06 14:19:35 -04:00
{
"L3MON4D3/LuaSnip",
config = function()
require("luasnip/loaders/from_vscode").lazy_load()
end,
2021-11-06 14:19:35 -04:00
commit = commit.luasnip,
},
{
"hrsh7th/cmp-nvim-lsp",
commit = commit.cmp_nvim_lsp,
},
2021-11-06 14:19:35 -04:00
{
"saadparwaiz1/cmp_luasnip",
commit = commit.cmp_luasnip,
},
{
"hrsh7th/cmp-buffer",
commit = commit.cmp_buffer,
},
{
"hrsh7th/cmp-path",
commit = commit.cmp_path,
},
{
"folke/lua-dev.nvim",
module = "lua-dev",
commit = commit.lua_dev,
2021-11-06 14:19:35 -04:00
},
2021-07-06 23:22:46 -04:00
2021-07-10 10:51:53 -04:00
-- Autopairs
{
2021-07-10 10:51:53 -04:00
"windwp/nvim-autopairs",
commit = commit.nvim_autopairs,
-- event = "InsertEnter",
2021-07-10 10:51:53 -04:00
config = function()
require("lvim.core.autopairs").setup()
2021-07-10 10:51:53 -04:00
end,
2021-09-07 19:23:14 -04:00
disable = not lvim.builtin.autopairs.active,
},
2021-07-10 10:51:53 -04:00
2021-07-06 23:22:46 -04:00
-- Treesitter
{
2021-07-12 21:11:43 -04:00
"nvim-treesitter/nvim-treesitter",
commit = commit.nvim_treesitter,
branch = vim.fn.has "nvim-0.6" == 1 and "master" or "0.5-compat",
2021-07-26 00:34:40 -04:00
-- run = ":TSUpdate",
2021-07-12 21:11:43 -04:00
config = function()
require("lvim.core.treesitter").setup()
end,
},
{
"JoosepAlviste/nvim-ts-context-commentstring",
commit = commit.nvim_ts_context_commentstring,
event = "BufReadPost",
},
2021-07-17 00:30:38 +02:00
2021-07-10 03:19:44 -04:00
-- NvimTree
{
2021-07-06 23:22:46 -04:00
"kyazdani42/nvim-tree.lua",
2021-07-10 03:19:44 -04:00
-- event = "BufWinOpen",
2021-07-06 23:22:46 -04:00
-- cmd = "NvimTreeToggle",
2021-11-06 14:19:35 -04:00
commit = commit.nvim_tree,
2021-07-06 23:22:46 -04:00
config = function()
require("lvim.core.nvimtree").setup()
2021-07-06 23:22:46 -04:00
end,
disable = not lvim.builtin.nvimtree.active,
},
2021-07-06 23:22:46 -04:00
{
2021-07-06 23:22:46 -04:00
"lewis6991/gitsigns.nvim",
commit = commit.gitsigns,
2021-07-06 23:22:46 -04:00
config = function()
require("lvim.core.gitsigns").setup()
2021-07-06 23:22:46 -04:00
end,
event = "BufRead",
disable = not lvim.builtin.gitsigns.active,
},
2021-07-06 23:22:46 -04:00
-- Whichkey
{
-- "folke/which-key.nvim",
-- commit = commit.which_key,
"zeertzjq/which-key.nvim",
branch = "patch-1",
2021-07-07 19:27:27 -04:00
config = function()
require("lvim.core.which-key").setup()
2021-07-07 19:27:27 -04:00
end,
event = "BufWinEnter",
disable = not lvim.builtin.which_key.active,
},
2021-07-06 23:22:46 -04:00
-- Comments
{
"numToStr/Comment.nvim",
commit = commit.comment,
2021-07-10 10:51:53 -04:00
event = "BufRead",
2021-07-06 23:22:46 -04:00
config = function()
require("lvim.core.comment").setup()
2021-07-06 23:22:46 -04:00
end,
disable = not lvim.builtin.comment.active,
},
2021-07-06 23:22:46 -04:00
-- project.nvim
{
"ahmedkhalf/project.nvim",
commit = commit.project,
2021-07-12 11:58:30 -04:00
config = function()
require("lvim.core.project").setup()
2021-07-12 11:58:30 -04:00
end,
disable = not lvim.builtin.project.active,
},
2021-07-12 11:58:30 -04:00
2021-07-06 23:22:46 -04:00
-- Icons
2021-11-05 19:05:54 -04:00
{ "kyazdani42/nvim-web-devicons", commit = commit.nvim_web_devicons },
2021-07-06 23:22:46 -04:00
-- Status Line and Bufferline
{
-- "hoob3rt/lualine.nvim",
"nvim-lualine/lualine.nvim",
commit = commit.lualine,
-- "Lunarvim/lualine.nvim",
2021-07-07 21:57:36 -04:00
config = function()
require("lvim.core.lualine").setup()
2021-07-07 21:57:36 -04:00
end,
disable = not lvim.builtin.lualine.active,
},
2021-07-06 23:22:46 -04:00
{
2021-07-06 23:22:46 -04:00
"romgrk/barbar.nvim",
commit = commit.barbar,
2021-07-06 23:22:46 -04:00
config = function()
require("lvim.core.bufferline").setup()
2021-07-06 23:22:46 -04:00
end,
2021-07-07 21:57:36 -04:00
event = "BufWinEnter",
2021-08-05 15:50:09 -04:00
disable = not lvim.builtin.bufferline.active,
},
2021-07-06 23:22:46 -04:00
2021-07-10 03:19:44 -04:00
-- Debugging
{
2021-07-10 03:19:44 -04:00
"mfussenegger/nvim-dap",
commit = commit.nvim_dap,
2021-07-10 15:34:59 -04:00
-- event = "BufWinEnter",
2021-07-10 03:19:44 -04:00
config = function()
require("lvim.core.dap").setup()
2021-07-10 03:19:44 -04:00
end,
disable = not lvim.builtin.dap.active,
},
2021-07-10 03:19:44 -04:00
-- Debugger management
{
2021-07-10 03:19:44 -04:00
"Pocco81/DAPInstall.nvim",
commit = commit.dapinstall,
2021-07-10 15:34:59 -04:00
-- event = "BufWinEnter",
2021-07-10 03:19:44 -04:00
-- event = "BufRead",
disable = not lvim.builtin.dap.active,
},
2021-07-10 03:19:44 -04:00
2021-07-06 23:22:46 -04:00
-- Dashboard
{
2021-07-06 23:22:46 -04:00
"ChristianChiarulli/dashboard-nvim",
2021-07-06 23:29:34 -04:00
event = "BufWinEnter",
2021-07-09 21:01:23 -04:00
config = function()
require("lvim.core.dashboard").setup()
2021-07-09 21:01:23 -04:00
end,
disable = not lvim.builtin.dashboard.active,
},
2021-07-09 19:38:15 -04:00
-- Terminal
{
"akinsho/toggleterm.nvim",
commit = commit.toggleterm,
2021-07-10 03:19:44 -04:00
event = "BufWinEnter",
config = function()
require("lvim.core.terminal").setup()
2021-07-10 03:19:44 -04:00
end,
disable = not lvim.builtin.terminal.active,
},
}