2021-11-06 00:04:36 +01:00
|
|
|
local commit = {
|
2022-02-07 18:22:30 +01:00
|
|
|
bufferline = "7451dfc97d28e6783dbeb1cdcff12619a9323c98",
|
2022-01-04 10:22:52 +01:00
|
|
|
cmp_buffer = "f83773e2f433a923997c5faad7ea689ec24d1785",
|
|
|
|
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-02 17:11:11 +01:00
|
|
|
comment = "af51a8af6b213336345f36fc7aba65f9c3316696",
|
2022-01-27 10:16:20 +01:00
|
|
|
dapinstall = "24923c3819a450a772bb8f675926d530e829665f",
|
2022-01-08 14:24:05 +01:00
|
|
|
dashboard_nvim = "d82ddae95fd4dc4c3b7bbe87f09b1840fbf20ecb",
|
2021-11-27 15:22:43 +01:00
|
|
|
fixcursorhold = "0e4e22d21975da60b0fd2d302285b3b603f9f71e",
|
2022-02-06 11:10:03 +01:00
|
|
|
friendly_snippets = "2e575549910571ff5abb6b02178c69ad760a4e00",
|
2022-02-09 11:50:47 +01:00
|
|
|
gitsigns = "e2b2730254df7648c79794555978f10fceb4b163",
|
2022-01-19 09:23:33 +01:00
|
|
|
lua_dev = "a0ee77789d9948adce64d98700cc90cecaef88d5",
|
2022-02-09 11:50:47 +01:00
|
|
|
lualine = "98dc2dd3a2a07c251bcbd43048157aa56f901402",
|
|
|
|
luasnip = "5a6a1503fc6b005737fc823e1cb90ce86249c2a0",
|
2022-02-02 17:11:11 +01:00
|
|
|
nlsp_settings = "35f8082ae5c14d621ae6e5b973ca148eaaf34c9f",
|
2022-02-09 11:50:47 +01:00
|
|
|
null_ls = "b1dbbc3807fcb82d6f562145debe6321610bef98",
|
2022-01-15 13:09:47 +01:00
|
|
|
nvim_autopairs = "97e454ce9b1371373105716d196c1017394bc947",
|
2022-02-06 11:10:03 +01:00
|
|
|
nvim_cmp = "a7fea2ca9f29869c75c3e2ccb683e7740868ba8b",
|
|
|
|
nvim_dap = "ee39d5d570d07161e16eb73054c295c6561eb2b4",
|
2022-02-09 11:50:47 +01:00
|
|
|
nvim_lsp_installer = "8c32ee62b8a08f3a3d66d87a83b59bb37d57a388",
|
2022-02-06 11:10:03 +01:00
|
|
|
nvim_lspconfig = "2008c5cebf2b84c5e5f8a566480b022ab2e7ebab",
|
|
|
|
nvim_notify = "2edf33d0eb3c358716d4474d6081d361c80f7aa3",
|
2022-02-09 11:50:47 +01:00
|
|
|
nvim_tree = "7a19c3e747f8953ed50c2f97a7d070f7a86190e8",
|
|
|
|
nvim_treesitter = "b1ef4033222fa86cbe5c6a0abf70098f157546d4",
|
2021-12-14 12:54:38 +01:00
|
|
|
nvim_ts_context_commentstring = "097df33c9ef5bbd3828105e4bee99965b758dc3f",
|
2022-02-09 11:50:47 +01:00
|
|
|
nvim_web_devicons = "e3294f687626b40754bb40ac2d636d166098b2fb",
|
2022-02-06 11:10:03 +01:00
|
|
|
packer = "e5c8c01374350b4fcfd56da2afc87434c51b3972",
|
2022-02-02 17:11:11 +01:00
|
|
|
plenary = "e86dc9b11241ff69ece50c15a5cdd49d20d4c27c",
|
2021-11-27 15:22:43 +01:00
|
|
|
popup = "b7404d35d5d3548a82149238289fa71f7f6de4ac",
|
2022-01-20 15:20:33 +01:00
|
|
|
project = "cef52b8da07648b750d7f1e8fb93f12cb9482988",
|
2022-02-09 11:50:47 +01:00
|
|
|
schemastore = "a678baca09b8458b4c8695c259c88a0d8eb8acb9",
|
2021-11-27 15:22:43 +01:00
|
|
|
structlog = "6f1403a192791ff1fa7ac845a73de9e860f781f1",
|
2022-02-02 17:11:11 +01:00
|
|
|
telescope = "f262e7d56d37625613c5de0df5a933cccacf13c5",
|
2021-11-27 15:22:43 +01:00
|
|
|
telescope_fzf_native = "b8662b076175e75e6497c59f3e2799b879d7b954",
|
2022-01-27 10:16:20 +01:00
|
|
|
toggleterm = "d2ceb2ca3268d09db3033b133c0ee4642e07f059",
|
2022-01-20 15:20:33 +01:00
|
|
|
which_key = "28d2bd129575b5e9ebddd88506601290bb2bb221",
|
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,
|
2022-01-02 10:25:20 +01:00
|
|
|
config = function()
|
|
|
|
require("lvim.core.notify").setup()
|
|
|
|
end,
|
|
|
|
event = "BufRead",
|
2021-10-22 23:46:43 +02:00
|
|
|
},
|
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,
|
|
|
|
},
|
|
|
|
{
|
2022-01-19 09:23:33 +01:00
|
|
|
"folke/lua-dev.nvim",
|
2021-12-28 10:02:26 +01:00
|
|
|
module = "lua-dev",
|
2022-01-19 09:23:33 +01:00
|
|
|
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-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-12-08 06:05:15 +01:00
|
|
|
commit = commit.nvim_treesitter,
|
2021-12-06 17:04:46 +01:00
|
|
|
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()
|
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
|
|
|
{
|
2022-01-13 12:00:12 +01:00
|
|
|
"folke/which-key.nvim",
|
|
|
|
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
|
|
|
{
|
2022-02-07 18:22:30 +01:00
|
|
|
"akinsho/bufferline.nvim",
|
|
|
|
commit = commit.bufferline,
|
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
|
|
|
},
|
2022-02-03 08:55:25 +01:00
|
|
|
|
|
|
|
-- SchemaStore
|
|
|
|
{
|
|
|
|
"b0o/schemastore.nvim",
|
|
|
|
commit = commit.schemastore,
|
|
|
|
},
|
2021-07-18 20:08:14 +02:00
|
|
|
}
|