LunarVim/lua/lvim/plugins.lua

283 lines
7.7 KiB
Lua
Raw Normal View History

local commit = {
2022-02-27 13:19:17 +01:00
bufferline = "871495d9e2dbe3314a421fd2d5e46f47de7ee537",
cmp_buffer = "d66c4c2d376e5be99db68d2362cd94d250987525",
2022-01-04 10:22:52 +01:00
cmp_luasnip = "d6f837f4e8fe48eeae288e638691b91b97d1737f",
2022-01-15 13:09:47 +01:00
cmp_nvim_lsp = "ebdfc204afb87f15ce3d3d3f5df0b8181443b5ba",
2022-02-06 11:10:03 +01:00
cmp_path = "466b6b8270f7ba89abd59f402c73f63c7331ff6e",
2022-02-18 13:24:29 +01:00
comment = "18a8dc0bbdfc089d5f5a850e4640d8e75381c598",
dapinstall = "24923c3819a450a772bb8f675926d530e829665f",
dashboard_nvim = "d82ddae95fd4dc4c3b7bbe87f09b1840fbf20ecb",
2022-02-18 13:24:29 +01:00
fixcursorhold = "1bfb32e7ba1344925ad815cb0d7f901dbc0ff7c1",
2022-02-27 13:19:17 +01:00
friendly_snippets = "1dad06434476404ebcebaf87da6308569e9b3cbe",
2022-03-02 15:06:06 +01:00
gitsigns = "06aefb1867687ee2b1d206fd5d19a2b254c62f2c",
lua_dev = "a0ee77789d9948adce64d98700cc90cecaef88d5",
lualine = "016a20711ee595a11426f9c1f4ab3e04967df553",
2022-02-27 13:19:17 +01:00
luasnip = "7c634ddf7ff99245ef993b5fa459c3b61e905075",
2022-03-02 15:06:06 +01:00
nlsp_settings = "c0b69bc217bbf30dc70eb6825a245b0d37e14dbd",
null_ls = "a1804de23ce354c982aa08c57d3ed89aad8a15a9",
nvim_autopairs = "771fda8d169384d345c8bbf2f871b75ba4a2dee5",
nvim_cmp = "1001683bee3a52a7b7e07ba9d391472961739c7b",
2022-02-18 13:24:29 +01:00
nvim_dap = "9fcff6e02e1a549d47a2c559a4b833798537c0bc",
2022-03-02 15:06:06 +01:00
nvim_lsp_installer = "29154c2fe1147c8eed5d54a419841e5637a8c3b2",
nvim_lspconfig = "cdc2ec53e028d32f06c51ef8b2837ebb8460ef45",
nvim_notify = "f81b48d298c0ff7479b66568d9cc1a4794c196d0",
nvim_tree = "9b03ab40e843e251f01bccec2eca5ea9dcdebc0d",
nvim_treesitter = "82389e52b6b50f712593079255ee088f1631b9cd",
2021-12-14 12:54:38 +01:00
nvim_ts_context_commentstring = "097df33c9ef5bbd3828105e4bee99965b758dc3f",
nvim_web_devicons = "4415d1aaa56f73b9c05795af84d625c610b05d3b",
2022-02-27 13:19:17 +01:00
packer = "c576ab3f1488ee86d60fd340d01ade08dcabd256",
plenary = "2a278c8a12a399e25b78a43ebcd4f3996cd4e4b6",
popup = "b7404d35d5d3548a82149238289fa71f7f6de4ac",
project = "cef52b8da07648b750d7f1e8fb93f12cb9482988",
2022-03-02 15:06:06 +01:00
schemastore = "2457bc8a78f574d8fbf17ce4550afce20f182813",
structlog = "6f1403a192791ff1fa7ac845a73de9e860f781f1",
2022-02-27 13:19:17 +01:00
telescope = "567ec85b157f1606b500a0f755181f284810a28e",
telescope_fzf_native = "8ec164b541327202e5e74f99bcc5fe5845720e18",
2022-03-02 15:06:06 +01:00
toggleterm = "e97d0c1046512e975a9f3fa95afe98f312752b1c",
which_key = "28d2bd129575b5e9ebddd88506601290bb2bb221",
}
return {
2021-07-07 05:22:46 +02:00
-- Packer can manage itself as an optional plugin
2021-11-06 00:05:54 +01:00
{ "wbthomason/packer.nvim", commit = commit.packer },
{ "neovim/nvim-lspconfig", commit = commit.nvim_lspconfig },
2021-11-06 00:05:54 +01:00
{ "tamago324/nlsp-settings.nvim", commit = commit.nlsp_settings },
2021-11-16 15:55:45 +01: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-06 00:05:54 +01:00
{ "Tastyep/structlog.nvim", commit = commit.structlog },
2021-07-10 19:27:52 +02:00
2021-11-06 00:05:54 +01:00
{ "nvim-lua/popup.nvim", commit = commit.popup },
{ "nvim-lua/plenary.nvim", commit = commit.plenary },
2021-07-10 09:19:44 +02:00
-- Telescope
{
2021-07-07 05:22:46 +02: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-08 01:23:14 +02:00
-- Install nvim-cmp, and buffer source as a dependency
{
2021-09-08 01:23:14 +02:00
"hrsh7th/nvim-cmp",
commit = commit.nvim_cmp,
2021-07-07 05:22:46 +02: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 19:19:35 +01:00
{
"L3MON4D3/LuaSnip",
config = function()
require("luasnip/loaders/from_vscode").lazy_load()
end,
2021-11-06 19:19:35 +01:00
commit = commit.luasnip,
},
{
"hrsh7th/cmp-nvim-lsp",
commit = commit.cmp_nvim_lsp,
},
2021-11-06 19:19:35 +01: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 19:19:35 +01:00
},
2021-07-07 05:22:46 +02:00
2021-07-10 16:51:53 +02:00
-- Autopairs
{
2021-07-10 16:51:53 +02:00
"windwp/nvim-autopairs",
commit = commit.nvim_autopairs,
-- event = "InsertEnter",
2021-07-10 16:51:53 +02:00
config = function()
require("lvim.core.autopairs").setup()
2021-07-10 16:51:53 +02:00
end,
2021-09-08 01:23:14 +02:00
disable = not lvim.builtin.autopairs.active,
},
2021-07-10 16:51:53 +02:00
2021-07-07 05:22:46 +02:00
-- Treesitter
{
2021-07-13 03:11:43 +02: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 06:34:40 +02:00
-- run = ":TSUpdate",
2021-07-13 03:11:43 +02: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 09:19:44 +02:00
-- NvimTree
{
2021-07-07 05:22:46 +02:00
"kyazdani42/nvim-tree.lua",
2021-07-10 09:19:44 +02:00
-- event = "BufWinOpen",
2021-07-07 05:22:46 +02:00
-- cmd = "NvimTreeToggle",
2021-11-06 19:19:35 +01:00
commit = commit.nvim_tree,
2021-07-07 05:22:46 +02:00
config = function()
require("lvim.core.nvimtree").setup()
2021-07-07 05:22:46 +02:00
end,
disable = not lvim.builtin.nvimtree.active,
},
2021-07-07 05:22:46 +02:00
{
2021-07-07 05:22:46 +02:00
"lewis6991/gitsigns.nvim",
commit = commit.gitsigns,
2021-07-07 05:22:46 +02:00
config = function()
require("lvim.core.gitsigns").setup()
2021-07-07 05:22:46 +02:00
end,
event = "BufRead",
disable = not lvim.builtin.gitsigns.active,
},
2021-07-07 05:22:46 +02:00
-- Whichkey
{
"folke/which-key.nvim",
commit = commit.which_key,
2021-07-08 01:27:27 +02:00
config = function()
require("lvim.core.which-key").setup()
2021-07-08 01:27:27 +02:00
end,
event = "BufWinEnter",
disable = not lvim.builtin.which_key.active,
},
2021-07-07 05:22:46 +02:00
-- Comments
{
"numToStr/Comment.nvim",
commit = commit.comment,
2021-07-10 16:51:53 +02:00
event = "BufRead",
2021-07-07 05:22:46 +02:00
config = function()
require("lvim.core.comment").setup()
2021-07-07 05:22:46 +02:00
end,
disable = not lvim.builtin.comment.active,
},
2021-07-07 05:22:46 +02:00
-- project.nvim
{
"ahmedkhalf/project.nvim",
commit = commit.project,
2021-07-12 17:58:30 +02:00
config = function()
require("lvim.core.project").setup()
2021-07-12 17:58:30 +02:00
end,
disable = not lvim.builtin.project.active,
},
2021-07-12 17:58:30 +02:00
2021-07-07 05:22:46 +02:00
-- Icons
2021-11-06 00:05:54 +01:00
{ "kyazdani42/nvim-web-devicons", commit = commit.nvim_web_devicons },
2021-07-07 05:22:46 +02:00
-- Status Line and Bufferline
{
-- "hoob3rt/lualine.nvim",
"nvim-lualine/lualine.nvim",
commit = commit.lualine,
-- "Lunarvim/lualine.nvim",
2021-07-08 03:57:36 +02:00
config = function()
require("lvim.core.lualine").setup()
2021-07-08 03:57:36 +02:00
end,
disable = not lvim.builtin.lualine.active,
},
2021-07-07 05:22:46 +02:00
{
"akinsho/bufferline.nvim",
commit = commit.bufferline,
2021-07-07 05:22:46 +02:00
config = function()
require("lvim.core.bufferline").setup()
2021-07-07 05:22:46 +02:00
end,
2021-07-08 03:57:36 +02:00
event = "BufWinEnter",
2021-08-05 21:50:09 +02:00
disable = not lvim.builtin.bufferline.active,
},
2021-07-07 05:22:46 +02:00
2021-07-10 09:19:44 +02:00
-- Debugging
{
2021-07-10 09:19:44 +02:00
"mfussenegger/nvim-dap",
commit = commit.nvim_dap,
2021-07-10 21:34:59 +02:00
-- event = "BufWinEnter",
2021-07-10 09:19:44 +02:00
config = function()
require("lvim.core.dap").setup()
2021-07-10 09:19:44 +02:00
end,
disable = not lvim.builtin.dap.active,
},
2021-07-10 09:19:44 +02:00
-- Debugger management
{
2021-07-10 09:19:44 +02:00
"Pocco81/DAPInstall.nvim",
commit = commit.dapinstall,
2021-07-10 21:34:59 +02:00
-- event = "BufWinEnter",
2021-07-10 09:19:44 +02:00
-- event = "BufRead",
disable = not lvim.builtin.dap.active,
},
2021-07-10 09:19:44 +02:00
2021-07-07 05:22:46 +02:00
-- Dashboard
{
2021-07-07 05:22:46 +02:00
"ChristianChiarulli/dashboard-nvim",
2021-07-07 05:29:34 +02:00
event = "BufWinEnter",
2021-07-10 03:01:23 +02:00
config = function()
require("lvim.core.dashboard").setup()
2021-07-10 03:01:23 +02:00
end,
disable = not lvim.builtin.dashboard.active,
},
2021-07-10 01:38:15 +02:00
-- Terminal
{
"akinsho/toggleterm.nvim",
commit = commit.toggleterm,
2021-07-10 09:19:44 +02:00
event = "BufWinEnter",
config = function()
require("lvim.core.terminal").setup()
2021-07-10 09:19:44 +02:00
end,
disable = not lvim.builtin.terminal.active,
},
-- SchemaStore
{
"b0o/schemastore.nvim",
commit = commit.schemastore,
},
}