mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-08-17 16:01:07 +02:00
268 lines
7.3 KiB
Lua
268 lines
7.3 KiB
Lua
local commit = {
|
|
barbar = "6e638309efcad2f308eb9c5eaccf6f62b794bbab",
|
|
cmp_buffer = "a706dc69c49110038fe570e5c9c33d6d4f67015b",
|
|
cmp_luasnip = "16832bb50e760223a403ffa3042859845dd9ef9d",
|
|
cmp_nvim_lsp = "134117299ff9e34adde30a735cd8ca9cf8f3db81",
|
|
cmp_nvim_lua = "d276254e7198ab7d00f117e88e223b4bd8c02d21",
|
|
cmp_path = "81518cf6ae29f5f0c79cd47770ae90ff5225ee13",
|
|
comment = "a6e1c127fa7f19ec4e3edbffab1aacb2852b6db3",
|
|
dapinstall = "dd09e9dd3a6e29f02ac171515b8a089fb82bb425",
|
|
fixcursorhold = "0e4e22d21975da60b0fd2d302285b3b603f9f71e",
|
|
friendly_snippets = "0806607c4c49b6823cf4155cf0c30bc28934dea2",
|
|
gitsigns = "95845ef39ce0a98f68cdfdcf7dd586c5e965acc7",
|
|
lualine = "cf75e1af5a1cafaa0866cf8a11632f48b430115d",
|
|
luasnip = "f400b978b1dbca96e9e190b7009c415c09b8924c",
|
|
nlsp_settings = "1e75ac7733f6492b501a7594870cf75c4ee23e81",
|
|
null_ls = "b07ce47f02c7b12ad65bfb4da215c6380228a959",
|
|
nvim_autopairs = "fba2503bd8cd0d8861054523aae39c4ac0680c07",
|
|
nvim_cmp = "ca6386854982199a532150cf3bd711395475ebd2",
|
|
nvim_dap = "4e8bb7ca12dc8ca6f7a500cbb4ecea185665c7f1",
|
|
nvim_lsp_installer = "52183c68baf9019c8241b1abf33ba0b6594ab3c8",
|
|
nvim_lspconfig = "b53f89c16bcc8052aa56d3a903fcad3aaa774041",
|
|
nvim_notify = "54375b724637eb6f29085c582318ae1fd042e717",
|
|
nvim_tree = "5d8453dfbd34ab00cb3e8ce39660f9a54cdd35f3",
|
|
nvim_treesitter = "47cfda2c6711077625c90902d7722238a8294982",
|
|
nvim_ts_context_commentstring = "9f5e422e1030e7073e593ad32c5354aa0bcb0176",
|
|
nvim_web_devicons = "8df4988ecf8599fc1f8f387bbf2eae790e4c5ffb",
|
|
packer = "7f62848f3a92eac61ae61def5f59ddb5e2cc6823",
|
|
plenary = "1c31adb35fcebe921f65e5c6ff6d5481fa5fa5ac",
|
|
popup = "b7404d35d5d3548a82149238289fa71f7f6de4ac",
|
|
project = "71d0e23dcfc43cfd6bb2a97dc5a7de1ab47a6538",
|
|
structlog = "6f1403a192791ff1fa7ac845a73de9e860f781f1",
|
|
telescope = "b415e862bf248d66c40e242de4a0c76c68e278f1",
|
|
telescope_fzf_native = "b8662b076175e75e6497c59f3e2799b879d7b954",
|
|
toggleterm = "265bbff68fbb8b2a5fb011272ec469850254ec9f",
|
|
which_key = "d3032b6d3e0adb667975170f626cb693bfc66baa",
|
|
}
|
|
|
|
return {
|
|
-- Packer can manage itself as an optional plugin
|
|
{ "wbthomason/packer.nvim", commit = commit.packer },
|
|
{ "neovim/nvim-lspconfig", commit = commit.nvim_lspconfig },
|
|
{ "tamago324/nlsp-settings.nvim", commit = commit.nlsp_settings },
|
|
{
|
|
"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,
|
|
},
|
|
{ "Tastyep/structlog.nvim", commit = commit.structlog },
|
|
|
|
{ "nvim-lua/popup.nvim", commit = commit.popup },
|
|
{ "nvim-lua/plenary.nvim", commit = commit.plenary },
|
|
-- Telescope
|
|
{
|
|
"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,
|
|
},
|
|
-- Install nvim-cmp, and buffer source as a dependency
|
|
{
|
|
"hrsh7th/nvim-cmp",
|
|
commit = commit.nvim_cmp,
|
|
config = function()
|
|
require("lvim.core.cmp").setup()
|
|
end,
|
|
run = function()
|
|
-- cmp's config requires cmp to be installed to run the first time
|
|
if not lvim.builtin.cmp then
|
|
require("lvim.core.cmp").config()
|
|
end
|
|
end,
|
|
},
|
|
{
|
|
"rafamadriz/friendly-snippets",
|
|
commit = commit.friendly_snippets,
|
|
-- event = "InsertCharPre",
|
|
-- disable = not lvim.builtin.compe.active,
|
|
},
|
|
{
|
|
"L3MON4D3/LuaSnip",
|
|
commit = commit.luasnip,
|
|
},
|
|
{
|
|
"saadparwaiz1/cmp_luasnip",
|
|
commit = commit.cmp_luasnip,
|
|
},
|
|
{
|
|
"hrsh7th/cmp-buffer",
|
|
commit = commit.cmp_buffer,
|
|
},
|
|
{
|
|
"hrsh7th/cmp-nvim-lsp",
|
|
commit = commit.cmp_nvim_lsp,
|
|
},
|
|
{
|
|
"hrsh7th/cmp-path",
|
|
commit = commit.cmp_path,
|
|
},
|
|
{
|
|
"hrsh7th/cmp-nvim-lua",
|
|
commit = commit.cmp_nvim_lua,
|
|
},
|
|
|
|
-- Autopairs
|
|
{
|
|
"windwp/nvim-autopairs",
|
|
commit = commit.nvim_autopairs,
|
|
-- event = "InsertEnter",
|
|
config = function()
|
|
require("lvim.core.autopairs").setup()
|
|
end,
|
|
disable = not lvim.builtin.autopairs.active,
|
|
},
|
|
|
|
-- Treesitter
|
|
{
|
|
"nvim-treesitter/nvim-treesitter",
|
|
commit = commit.treesitter,
|
|
branch = "0.5-compat",
|
|
-- run = ":TSUpdate",
|
|
config = function()
|
|
require("lvim.core.treesitter").setup()
|
|
end,
|
|
},
|
|
{
|
|
"JoosepAlviste/nvim-ts-context-commentstring",
|
|
commit = commit.nvim_ts_context_commentstring,
|
|
event = "BufReadPost",
|
|
},
|
|
|
|
-- NvimTree
|
|
{
|
|
"kyazdani42/nvim-tree.lua",
|
|
-- event = "BufWinOpen",
|
|
-- cmd = "NvimTreeToggle",
|
|
commit = commit.nvim_tree,
|
|
config = function()
|
|
require("lvim.core.nvimtree").setup()
|
|
end,
|
|
disable = not lvim.builtin.nvimtree.active,
|
|
},
|
|
|
|
{
|
|
"lewis6991/gitsigns.nvim",
|
|
commit = commit.gitsigns,
|
|
|
|
config = function()
|
|
require("lvim.core.gitsigns").setup()
|
|
end,
|
|
event = "BufRead",
|
|
disable = not lvim.builtin.gitsigns.active,
|
|
},
|
|
|
|
-- Whichkey
|
|
{
|
|
"folke/which-key.nvim",
|
|
commit = commit.which_key,
|
|
config = function()
|
|
require("lvim.core.which-key").setup()
|
|
end,
|
|
event = "BufWinEnter",
|
|
disable = not lvim.builtin.which_key.active,
|
|
},
|
|
|
|
-- Comments
|
|
{
|
|
"numToStr/Comment.nvim",
|
|
commit = commit.comment,
|
|
event = "BufRead",
|
|
config = function()
|
|
require("lvim.core.comment").setup()
|
|
end,
|
|
disable = not lvim.builtin.comment.active,
|
|
},
|
|
|
|
-- project.nvim
|
|
{
|
|
"ahmedkhalf/project.nvim",
|
|
commit = commit.project,
|
|
config = function()
|
|
require("lvim.core.project").setup()
|
|
end,
|
|
disable = not lvim.builtin.project.active,
|
|
},
|
|
|
|
-- Icons
|
|
{ "kyazdani42/nvim-web-devicons", commit = commit.nvim_web_devicons },
|
|
|
|
-- Status Line and Bufferline
|
|
{
|
|
-- "hoob3rt/lualine.nvim",
|
|
"nvim-lualine/lualine.nvim",
|
|
commit = commit.lualine,
|
|
-- "Lunarvim/lualine.nvim",
|
|
config = function()
|
|
require("lvim.core.lualine").setup()
|
|
end,
|
|
disable = not lvim.builtin.lualine.active,
|
|
},
|
|
|
|
{
|
|
"romgrk/barbar.nvim",
|
|
commit = commit.barbar,
|
|
config = function()
|
|
require("lvim.core.bufferline").setup()
|
|
end,
|
|
event = "BufWinEnter",
|
|
disable = not lvim.builtin.bufferline.active,
|
|
},
|
|
|
|
-- Debugging
|
|
{
|
|
"mfussenegger/nvim-dap",
|
|
commit = commit.nvim_dap,
|
|
-- event = "BufWinEnter",
|
|
config = function()
|
|
require("lvim.core.dap").setup()
|
|
end,
|
|
disable = not lvim.builtin.dap.active,
|
|
},
|
|
|
|
-- Debugger management
|
|
{
|
|
"Pocco81/DAPInstall.nvim",
|
|
commit = commit.dapinstall,
|
|
-- event = "BufWinEnter",
|
|
-- event = "BufRead",
|
|
disable = not lvim.builtin.dap.active,
|
|
},
|
|
|
|
-- Dashboard
|
|
{
|
|
"ChristianChiarulli/dashboard-nvim",
|
|
event = "BufWinEnter",
|
|
config = function()
|
|
require("lvim.core.dashboard").setup()
|
|
end,
|
|
disable = not lvim.builtin.dashboard.active,
|
|
},
|
|
|
|
-- Terminal
|
|
{
|
|
"akinsho/toggleterm.nvim",
|
|
commit = commit.toggleterm,
|
|
event = "BufWinEnter",
|
|
config = function()
|
|
require("lvim.core.terminal").setup()
|
|
end,
|
|
disable = not lvim.builtin.terminal.active,
|
|
},
|
|
}
|