2021-11-06 00:04:36 +01:00
|
|
|
local commit = {
|
|
|
|
barbar = "6e638309efcad2f308eb9c5eaccf6f62b794bbab",
|
2021-11-27 15:22:43 +01:00
|
|
|
cmp_buffer = "a706dc69c49110038fe570e5c9c33d6d4f67015b",
|
2021-11-06 19:19:35 +01:00
|
|
|
cmp_luasnip = "16832bb50e760223a403ffa3042859845dd9ef9d",
|
2021-11-27 15:22:43 +01:00
|
|
|
cmp_nvim_lsp = "134117299ff9e34adde30a735cd8ca9cf8f3db81",
|
2021-11-06 19:19:35 +01:00
|
|
|
cmp_nvim_lua = "d276254e7198ab7d00f117e88e223b4bd8c02d21",
|
2021-12-01 19:02:06 +01:00
|
|
|
cmp_path = "e30d3fdee650a07330654efab1951b2f1b91435e",
|
2021-11-27 15:22:43 +01:00
|
|
|
comment = "a6e1c127fa7f19ec4e3edbffab1aacb2852b6db3",
|
|
|
|
dapinstall = "dd09e9dd3a6e29f02ac171515b8a089fb82bb425",
|
|
|
|
fixcursorhold = "0e4e22d21975da60b0fd2d302285b3b603f9f71e",
|
2021-12-01 19:02:06 +01:00
|
|
|
friendly_snippets = "e3506d575e120253b4aa47ec2100786fd1e9c38d",
|
|
|
|
gitsigns = "9678750f209671551c335c4f22658a6554c2f439",
|
2021-11-29 09:12:13 +01:00
|
|
|
lualine = "1ae4f0aa74f0b34222c5ef3281b34602a76b2b00",
|
2021-12-01 19:02:06 +01:00
|
|
|
luasnip = "7fc3cc24f3c1f1a43e861f589ca48ff3dff0b213",
|
|
|
|
nlsp_settings = "199bc1b2859206488423b676da4a7d010b1a3373",
|
|
|
|
null_ls = "128b8d85506e44f1e7e0f4acd9f2ba02fc7cee05",
|
2021-11-27 15:22:43 +01:00
|
|
|
nvim_autopairs = "fba2503bd8cd0d8861054523aae39c4ac0680c07",
|
2021-12-01 19:02:06 +01:00
|
|
|
nvim_cmp = "d17d41bdbd4731759d1b3d368204dc18ce3c84f3",
|
2021-11-27 15:22:43 +01:00
|
|
|
nvim_dap = "4e8bb7ca12dc8ca6f7a500cbb4ecea185665c7f1",
|
2021-12-01 19:02:06 +01:00
|
|
|
nvim_lsp_installer = "a4016db22296e4eefbcda2e8b94de74db2d7cb65",
|
|
|
|
nvim_lspconfig = "5b8624c1bcd332e9fd7ae33a2ca910adb31a7ae7",
|
|
|
|
nvim_notify = "36012703049bc7be9d4de97cb96c6d17ccf978cd",
|
2021-11-29 09:12:13 +01:00
|
|
|
nvim_tree = "e842f088847c98da59e14eb543bde11c45c87ef7",
|
2021-12-01 19:02:06 +01:00
|
|
|
nvim_treesitter = "8d1547f0bcd0831876678eeb238c3ba9a528189b",
|
2021-11-27 15:22:43 +01:00
|
|
|
nvim_ts_context_commentstring = "9f5e422e1030e7073e593ad32c5354aa0bcb0176",
|
|
|
|
nvim_web_devicons = "8df4988ecf8599fc1f8f387bbf2eae790e4c5ffb",
|
2021-12-01 19:02:06 +01:00
|
|
|
packer = "db3c3e3379613443d94e677a6ac3f61278e36e47",
|
2021-11-27 15:22:43 +01:00
|
|
|
plenary = "1c31adb35fcebe921f65e5c6ff6d5481fa5fa5ac",
|
|
|
|
popup = "b7404d35d5d3548a82149238289fa71f7f6de4ac",
|
|
|
|
project = "71d0e23dcfc43cfd6bb2a97dc5a7de1ab47a6538",
|
|
|
|
structlog = "6f1403a192791ff1fa7ac845a73de9e860f781f1",
|
2021-12-01 19:02:06 +01:00
|
|
|
telescope = "ef245548a858690fa8f2db1f1a0eaf41b93a6ef6",
|
2021-11-27 15:22:43 +01:00
|
|
|
telescope_fzf_native = "b8662b076175e75e6497c59f3e2799b879d7b954",
|
|
|
|
toggleterm = "265bbff68fbb8b2a5fb011272ec469850254ec9f",
|
|
|
|
which_key = "d3032b6d3e0adb667975170f626cb693bfc66baa",
|
2021-11-06 00:04:36 +01:00
|
|
|
}
|
|
|
|
|
2021-07-18 20:08:14 +02:00
|
|
|
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 },
|
2021-11-27 15:22:43 +01:00
|
|
|
{ "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,
|
|
|
|
},
|
2021-11-27 15:22:43 +01:00
|
|
|
{ "antoinemadec/FixCursorHold.nvim", commit = commit.fixcursorhold }, -- Needed while issue https://github.com/neovim/neovim/issues/12587 is still open
|
2021-07-18 20:08:14 +02:00
|
|
|
{
|
2021-10-03 16:13:46 +02:00
|
|
|
"williamboman/nvim-lsp-installer",
|
2021-11-27 15:22:43 +01:00
|
|
|
commit = commit.nvim_lsp_installer,
|
2021-07-18 20:08:14 +02:00
|
|
|
},
|
2021-10-22 23:46:43 +02:00
|
|
|
{
|
|
|
|
"rcarriga/nvim-notify",
|
2021-11-06 00:04:36 +01:00
|
|
|
commit = commit.nvim_notify,
|
2021-10-22 23:46:43 +02:00
|
|
|
disable = not lvim.builtin.notify.active,
|
|
|
|
},
|
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-18 20:08:14 +02:00
|
|
|
{
|
2021-07-07 05:22:46 +02:00
|
|
|
"nvim-telescope/telescope.nvim",
|
2021-11-06 00:04:36 +01:00
|
|
|
commit = commit.telescope,
|
2021-07-20 23:28:29 +02:00
|
|
|
config = function()
|
2021-10-10 21:07:41 +02:00
|
|
|
require("lvim.core.telescope").setup()
|
2021-07-20 23:28:29 +02:00
|
|
|
end,
|
2021-08-17 17:20:18 +02:00
|
|
|
disable = not lvim.builtin.telescope.active,
|
2021-07-18 20:08:14 +02:00
|
|
|
},
|
2021-10-15 16:33:34 +02:00
|
|
|
{
|
|
|
|
"nvim-telescope/telescope-fzf-native.nvim",
|
2021-11-06 00:04:36 +01:00
|
|
|
commit = commit.telescope_fzf_native,
|
2021-10-15 16:33:34 +02:00
|
|
|
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-07-18 20:08:14 +02:00
|
|
|
{
|
2021-09-08 01:23:14 +02:00
|
|
|
"hrsh7th/nvim-cmp",
|
2021-11-06 00:04:36 +01:00
|
|
|
commit = commit.nvim_cmp,
|
2021-07-07 05:22:46 +02:00
|
|
|
config = function()
|
2021-11-28 16:52:56 +01:00
|
|
|
if lvim.builtin.cmp then
|
|
|
|
require("lvim.core.cmp").setup()
|
2021-09-13 07:47:25 +02:00
|
|
|
end
|
|
|
|
end,
|
2021-11-28 16:52:56 +01:00
|
|
|
requires = {
|
|
|
|
"L3MON4D3/LuaSnip",
|
|
|
|
"rafamadriz/friendly-snippets",
|
|
|
|
},
|
2021-07-28 06:02:40 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"rafamadriz/friendly-snippets",
|
2021-11-06 00:04:36 +01:00
|
|
|
commit = commit.friendly_snippets,
|
2021-07-18 20:08:14 +02:00
|
|
|
},
|
2021-11-06 19:19:35 +01:00
|
|
|
{
|
|
|
|
"L3MON4D3/LuaSnip",
|
2021-11-28 16:52:56 +01:00
|
|
|
config = function()
|
|
|
|
require("luasnip/loaders/from_vscode").lazy_load()
|
|
|
|
end,
|
2021-11-06 19:19:35 +01:00
|
|
|
commit = commit.luasnip,
|
|
|
|
},
|
2021-11-28 16:52:56 +01:00
|
|
|
{
|
|
|
|
"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,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"hrsh7th/cmp-nvim-lua",
|
|
|
|
commit = commit.cmp_nvim_lua,
|
|
|
|
},
|
2021-07-07 05:22:46 +02:00
|
|
|
|
2021-07-10 16:51:53 +02:00
|
|
|
-- Autopairs
|
2021-07-18 20:08:14 +02:00
|
|
|
{
|
2021-07-10 16:51:53 +02:00
|
|
|
"windwp/nvim-autopairs",
|
2021-11-27 15:22:43 +01:00
|
|
|
commit = commit.nvim_autopairs,
|
2021-07-10 22:10:03 +02:00
|
|
|
-- event = "InsertEnter",
|
2021-07-10 16:51:53 +02:00
|
|
|
config = function()
|
2021-10-10 21:07:41 +02:00
|
|
|
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-18 20:08:14 +02:00
|
|
|
},
|
2021-07-10 16:51:53 +02:00
|
|
|
|
2021-07-07 05:22:46 +02:00
|
|
|
-- Treesitter
|
2021-07-18 20:08:14 +02:00
|
|
|
{
|
2021-07-13 03:11:43 +02:00
|
|
|
"nvim-treesitter/nvim-treesitter",
|
2021-11-06 00:04:36 +01:00
|
|
|
commit = commit.treesitter,
|
2021-07-26 06:34:40 +02:00
|
|
|
branch = "0.5-compat",
|
|
|
|
-- run = ":TSUpdate",
|
2021-07-13 03:11:43 +02:00
|
|
|
config = function()
|
2021-10-10 21:07:41 +02:00
|
|
|
require("lvim.core.treesitter").setup()
|
2021-07-17 00:36:43 +02:00
|
|
|
end,
|
2021-07-18 20:08:14 +02:00
|
|
|
},
|
2021-11-05 23:15:10 +01:00
|
|
|
{
|
|
|
|
"JoosepAlviste/nvim-ts-context-commentstring",
|
2021-11-27 15:22:43 +01:00
|
|
|
commit = commit.nvim_ts_context_commentstring,
|
2021-11-05 23:15:10 +01:00
|
|
|
event = "BufReadPost",
|
|
|
|
},
|
2021-07-17 00:30:38 +02:00
|
|
|
|
2021-07-10 09:19:44 +02:00
|
|
|
-- NvimTree
|
2021-07-18 20:08:14 +02:00
|
|
|
{
|
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()
|
2021-10-10 21:07:41 +02:00
|
|
|
require("lvim.core.nvimtree").setup()
|
2021-07-07 05:22:46 +02:00
|
|
|
end,
|
2021-08-17 17:20:18 +02:00
|
|
|
disable = not lvim.builtin.nvimtree.active,
|
2021-07-18 20:08:14 +02:00
|
|
|
},
|
2021-07-07 05:22:46 +02:00
|
|
|
|
2021-07-18 20:08:14 +02:00
|
|
|
{
|
2021-07-07 05:22:46 +02:00
|
|
|
"lewis6991/gitsigns.nvim",
|
2021-11-06 00:04:36 +01:00
|
|
|
commit = commit.gitsigns,
|
2021-07-07 05:22:46 +02:00
|
|
|
|
|
|
|
config = function()
|
2021-10-10 21:07:41 +02:00
|
|
|
require("lvim.core.gitsigns").setup()
|
2021-07-07 05:22:46 +02:00
|
|
|
end,
|
|
|
|
event = "BufRead",
|
2021-08-17 17:20:18 +02:00
|
|
|
disable = not lvim.builtin.gitsigns.active,
|
2021-07-18 20:08:14 +02:00
|
|
|
},
|
2021-07-07 05:22:46 +02:00
|
|
|
|
2021-07-25 03:17:11 +02:00
|
|
|
-- Whichkey
|
2021-07-18 20:08:14 +02:00
|
|
|
{
|
2021-10-22 13:20:49 +02:00
|
|
|
"folke/which-key.nvim",
|
2021-11-06 00:04:36 +01:00
|
|
|
commit = commit.which_key,
|
2021-07-08 01:27:27 +02:00
|
|
|
config = function()
|
2021-10-10 21:07:41 +02:00
|
|
|
require("lvim.core.which-key").setup()
|
2021-07-08 01:27:27 +02:00
|
|
|
end,
|
|
|
|
event = "BufWinEnter",
|
2021-08-17 17:20:18 +02:00
|
|
|
disable = not lvim.builtin.which_key.active,
|
2021-07-18 20:08:14 +02:00
|
|
|
},
|
2021-07-07 05:22:46 +02:00
|
|
|
|
|
|
|
-- Comments
|
2021-07-18 20:08:14 +02:00
|
|
|
{
|
2021-10-11 18:40:59 +02:00
|
|
|
"numToStr/Comment.nvim",
|
2021-11-06 00:04:36 +01:00
|
|
|
commit = commit.comment,
|
2021-07-10 16:51:53 +02:00
|
|
|
event = "BufRead",
|
2021-07-07 05:22:46 +02:00
|
|
|
config = function()
|
2021-10-10 21:07:41 +02:00
|
|
|
require("lvim.core.comment").setup()
|
2021-07-07 05:22:46 +02:00
|
|
|
end,
|
2021-08-17 17:20:18 +02:00
|
|
|
disable = not lvim.builtin.comment.active,
|
2021-07-18 20:08:14 +02:00
|
|
|
},
|
2021-07-07 05:22:46 +02:00
|
|
|
|
2021-08-18 07:34:26 +02:00
|
|
|
-- project.nvim
|
2021-07-18 20:08:14 +02:00
|
|
|
{
|
2021-08-18 07:34:26 +02:00
|
|
|
"ahmedkhalf/project.nvim",
|
2021-11-06 00:04:36 +01:00
|
|
|
commit = commit.project,
|
2021-07-12 17:58:30 +02:00
|
|
|
config = function()
|
2021-10-10 21:07:41 +02:00
|
|
|
require("lvim.core.project").setup()
|
2021-07-12 17:58:30 +02:00
|
|
|
end,
|
2021-08-18 07:34:26 +02:00
|
|
|
disable = not lvim.builtin.project.active,
|
2021-07-18 20:08:14 +02:00
|
|
|
},
|
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
|
2021-07-18 20:08:14 +02:00
|
|
|
{
|
2021-08-20 11:16:29 +02:00
|
|
|
-- "hoob3rt/lualine.nvim",
|
2021-10-22 10:39:01 +02:00
|
|
|
"nvim-lualine/lualine.nvim",
|
2021-11-06 00:04:36 +01:00
|
|
|
commit = commit.lualine,
|
2021-08-20 11:16:29 +02:00
|
|
|
-- "Lunarvim/lualine.nvim",
|
2021-07-08 03:57:36 +02:00
|
|
|
config = function()
|
2021-10-10 21:07:41 +02:00
|
|
|
require("lvim.core.lualine").setup()
|
2021-07-08 03:57:36 +02:00
|
|
|
end,
|
2021-08-20 11:16:29 +02:00
|
|
|
disable = not lvim.builtin.lualine.active,
|
2021-07-18 20:08:14 +02:00
|
|
|
},
|
2021-07-07 05:22:46 +02:00
|
|
|
|
2021-07-18 20:08:14 +02:00
|
|
|
{
|
2021-07-07 05:22:46 +02:00
|
|
|
"romgrk/barbar.nvim",
|
2021-11-06 00:04:36 +01:00
|
|
|
commit = commit.barbar,
|
2021-07-07 05:22:46 +02:00
|
|
|
config = function()
|
2021-10-10 21:07:41 +02:00
|
|
|
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-18 20:08:14 +02:00
|
|
|
},
|
2021-07-07 05:22:46 +02:00
|
|
|
|
2021-07-10 09:19:44 +02:00
|
|
|
-- Debugging
|
2021-07-18 20:08:14 +02:00
|
|
|
{
|
2021-07-10 09:19:44 +02:00
|
|
|
"mfussenegger/nvim-dap",
|
2021-11-27 15:22:43 +01:00
|
|
|
commit = commit.nvim_dap,
|
2021-07-10 21:34:59 +02:00
|
|
|
-- event = "BufWinEnter",
|
2021-07-10 09:19:44 +02:00
|
|
|
config = function()
|
2021-10-10 21:07:41 +02:00
|
|
|
require("lvim.core.dap").setup()
|
2021-07-10 09:19:44 +02:00
|
|
|
end,
|
2021-07-25 03:17:11 +02:00
|
|
|
disable = not lvim.builtin.dap.active,
|
2021-07-18 20:08:14 +02:00
|
|
|
},
|
2021-07-10 09:19:44 +02:00
|
|
|
|
|
|
|
-- Debugger management
|
2021-07-18 20:08:14 +02:00
|
|
|
{
|
2021-07-10 09:19:44 +02:00
|
|
|
"Pocco81/DAPInstall.nvim",
|
2021-11-27 15:22:43 +01:00
|
|
|
commit = commit.dapinstall,
|
2021-07-10 21:34:59 +02:00
|
|
|
-- event = "BufWinEnter",
|
2021-07-10 09:19:44 +02:00
|
|
|
-- event = "BufRead",
|
2021-07-25 03:17:11 +02:00
|
|
|
disable = not lvim.builtin.dap.active,
|
2021-07-18 20:08:14 +02:00
|
|
|
},
|
2021-07-10 09:19:44 +02:00
|
|
|
|
2021-07-07 05:22:46 +02:00
|
|
|
-- Dashboard
|
2021-07-18 20:08:14 +02:00
|
|
|
{
|
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()
|
2021-10-10 21:07:41 +02:00
|
|
|
require("lvim.core.dashboard").setup()
|
2021-07-10 03:01:23 +02:00
|
|
|
end,
|
2021-07-25 03:17:11 +02:00
|
|
|
disable = not lvim.builtin.dashboard.active,
|
2021-07-18 20:08:14 +02:00
|
|
|
},
|
2021-07-10 01:38:15 +02:00
|
|
|
|
2021-07-25 03:17:11 +02:00
|
|
|
-- Terminal
|
2021-07-18 20:08:14 +02:00
|
|
|
{
|
2021-09-06 16:06:28 +02:00
|
|
|
"akinsho/toggleterm.nvim",
|
2021-11-06 00:04:36 +01:00
|
|
|
commit = commit.toggleterm,
|
2021-07-10 09:19:44 +02:00
|
|
|
event = "BufWinEnter",
|
|
|
|
config = function()
|
2021-10-10 21:07:41 +02:00
|
|
|
require("lvim.core.terminal").setup()
|
2021-07-10 09:19:44 +02:00
|
|
|
end,
|
2021-07-25 03:17:11 +02:00
|
|
|
disable = not lvim.builtin.terminal.active,
|
2021-07-18 20:08:14 +02:00
|
|
|
},
|
|
|
|
}
|