Big update of pinned versions for lazy

This commit is contained in:
ViViDboarder 2025-01-15 10:03:03 -08:00
parent 595ec2fe1b
commit 369c5a4658
7 changed files with 48 additions and 36 deletions

View File

@ -61,7 +61,7 @@
}, },
"lazydev.nvim": { "lazydev.nvim": {
"branch": "main", "branch": "main",
"commit": "8620f82ee3f59ff2187647167b6b47387a13a018" "commit": "f59bd14a852ca43db38e3662395354cb2a9b13e0"
}, },
"limelight.vim": { "limelight.vim": {
"branch": "master", "branch": "master",
@ -81,11 +81,11 @@
}, },
"mason-lspconfig.nvim": { "mason-lspconfig.nvim": {
"branch": "main", "branch": "main",
"commit": "97d9f1d3ad205dece6bcafd1d71cf1507608f3c7" "commit": "e942edf5c85b6a2ab74059ea566cac5b3e1514a4"
}, },
"mason.nvim": { "mason.nvim": {
"branch": "main", "branch": "main",
"commit": "e2f7f9044ec30067bc11800a9e266664b88cda22" "commit": "c43eeb5614a09dc17c03a7fb49de2e05de203924"
}, },
"neodev.nvim": { "neodev.nvim": {
"branch": "main", "branch": "main",
@ -97,7 +97,7 @@
}, },
"none-ls.nvim": { "none-ls.nvim": {
"branch": "main", "branch": "main",
"commit": "7bebb35a05871aeb99825f29d869cbd9a46bdbba" "commit": "3291afdff94e5083c7d6a4e9e661c3682c4b9b2a"
}, },
"nvim-cmp": { "nvim-cmp": {
"branch": "main", "branch": "main",
@ -109,7 +109,7 @@
}, },
"nvim-dap": { "nvim-dap": {
"branch": "master", "branch": "master",
"commit": "99807078c5089ed30e0547aa4b52c5867933f426" "commit": "04ce47fc5a6ef2b717f33c320fc003091cebac40"
}, },
"nvim-dap-python": { "nvim-dap-python": {
"branch": "master", "branch": "master",
@ -121,7 +121,7 @@
}, },
"nvim-lspconfig": { "nvim-lspconfig": {
"branch": "master", "branch": "master",
"commit": "0ef64599b8aa0187ee5f6d92cb39c951f348f041" "commit": "343ac34abc7ab53fae33357f915024aaacb76a3e"
}, },
"nvim-navic": { "nvim-navic": {
"branch": "master", "branch": "master",
@ -141,7 +141,7 @@
}, },
"nvim-treesitter": { "nvim-treesitter": {
"branch": "master", "branch": "master",
"commit": "306dd6e9dc806db1d79568d26e1c9b6c98b95fbc" "commit": "f0c928dbe93533b7e35894a8f957f40150d1f663"
}, },
"nvim-treesitter-textobjects": { "nvim-treesitter-textobjects": {
"branch": "master", "branch": "master",
@ -153,7 +153,7 @@
}, },
"plenary.nvim": { "plenary.nvim": {
"branch": "master", "branch": "master",
"commit": "2d9b06177a975543726ce5c73fca176cedbffe9d" "commit": "3707cdb1e43f5cea73afb6037e6494e7ce847a66"
}, },
"rustaceanvim": { "rustaceanvim": {
"branch": "master", "branch": "master",
@ -185,7 +185,7 @@
}, },
"tokyonight.nvim": { "tokyonight.nvim": {
"branch": "main", "branch": "main",
"commit": "7bb270adaa7692c2c33befc35f5567fc596a2504" "commit": "775f82f08a3d1fb55a37fc6d3a4ab10cd7ed8a10"
}, },
"trouble.nvim": { "trouble.nvim": {
"branch": "main", "branch": "main",
@ -197,7 +197,7 @@
}, },
"vim-argwrap": { "vim-argwrap": {
"branch": "master", "branch": "master",
"commit": "f3e26a5ad249d09467804b92e760d08b1cc457a1" "commit": "b532cb6805864da4cfcfe0bb6a1ced61e291be02"
}, },
"vim-endwise": { "vim-endwise": {
"branch": "master", "branch": "master",
@ -213,7 +213,7 @@
}, },
"vim-fugitive": { "vim-fugitive": {
"branch": "master", "branch": "master",
"commit": "174230d6a7f2df94705a7ffd8d5413e27ec10a80" "commit": "96c1009fcf8ce60161cc938d149dd5a66d570756"
}, },
"vim-grepper": { "vim-grepper": {
"branch": "master", "branch": "master",

View File

@ -3,7 +3,7 @@ local utils = require("utils")
return { return {
{ {
"https://github.com/L3MON4D3/LuaSnip", "https://github.com/L3MON4D3/LuaSnip",
version = "2.x.x", version = "^2",
event = "InsertEnter *", event = "InsertEnter *",
config = function() config = function()
require("luasnip.loaders.from_vscode").lazy_load() require("luasnip.loaders.from_vscode").lazy_load()
@ -49,6 +49,10 @@ return {
config = function() config = function()
require("plugins.completion").config_cmp() require("plugins.completion").config_cmp()
end, end,
version = utils.map_version_rule({
[">=0.7.0"] = "^0.0.2",
["<0.7.0"] = utils.nil_val,
}),
commit = utils.map_version_rule({ commit = utils.map_version_rule({
[">=0.7.0"] = utils.nil_val, [">=0.7.0"] = utils.nil_val,
[">=0.5.0"] = "bba6fb67fdafc0af7c5454058dfbabc2182741f4", [">=0.5.0"] = "bba6fb67fdafc0af7c5454058dfbabc2182741f4",
@ -56,6 +60,5 @@ return {
event = "InsertEnter *", event = "InsertEnter *",
}, },
-- Add snippets
event = "InsertEnter *", event = "InsertEnter *",
} }

View File

@ -4,7 +4,7 @@ return {
{ {
"https://github.com/github/copilot.vim", "https://github.com/github/copilot.vim",
enabled = vim.g.install_copilot, enabled = vim.g.install_copilot,
version = "1.x.x", version = "^1",
config = function() config = function()
require("plugins.copilot") require("plugins.copilot")
end, end,
@ -17,7 +17,7 @@ return {
{ {
"https://github.com/CopilotC-Nvim/CopilotChat.nvim", "https://github.com/CopilotC-Nvim/CopilotChat.nvim",
enabled = vim.g.install_copilot, enabled = vim.g.install_copilot,
version = "3.x.x", version = "^3",
build = "make tiktoken", build = "make tiktoken",
dependencies = { dependencies = {
{ "https://github.com/github/copilot.vim" }, { "https://github.com/github/copilot.vim" },

View File

@ -3,6 +3,7 @@ local utils = require("utils")
return { return {
{ {
"https://github.com/mfussenegger/nvim-dap", "https://github.com/mfussenegger/nvim-dap",
version = "^0.9",
config = function() config = function()
local dap = require("dap") local dap = require("dap")
local dap_mapping = utils.curry_keymap("n", "<leader>d", { local dap_mapping = utils.curry_keymap("n", "<leader>d", {

View File

@ -4,7 +4,7 @@ return {
{ {
"https://github.com/neovim/nvim-lspconfig", "https://github.com/neovim/nvim-lspconfig",
version = utils.map_version_rule({ version = utils.map_version_rule({
[">=0.8.0"] = "v0.1.*", [">=0.8.0"] = "^1",
[">=0.7.0"] = "v0.1.7", [">=0.7.0"] = "v0.1.7",
[">=0.6.1"] = "v0.1.2", [">=0.6.1"] = "v0.1.2",
[">=0.6.0"] = "v0.1.0", [">=0.6.0"] = "v0.1.0",
@ -13,6 +13,7 @@ return {
{ {
-- Language server installer -- Language server installer
"https://github.com/williamboman/mason.nvim", "https://github.com/williamboman/mason.nvim",
version = "^1",
dependencies = { dependencies = {
{ "https://github.com/neovim/nvim-lspconfig" }, { "https://github.com/neovim/nvim-lspconfig" },
{ "https://github.com/williamboman/mason-lspconfig.nvim" }, { "https://github.com/williamboman/mason-lspconfig.nvim" },
@ -30,6 +31,7 @@ return {
-- Neovim language server config -- Neovim language server config
{ {
"https://github.com/folke/neodev.nvim", "https://github.com/folke/neodev.nvim",
version = "^3",
dependencies = { { "https://github.com/neovim/nvim-lspconfig" } }, dependencies = { { "https://github.com/neovim/nvim-lspconfig" } },
ft = { "lua" }, ft = { "lua" },
-- Disable for nvim 0.10 because there is lazydev -- Disable for nvim 0.10 because there is lazydev
@ -37,6 +39,7 @@ return {
}, },
{ {
"https://github.com/folke/lazydev.nvim", "https://github.com/folke/lazydev.nvim",
version = "^1",
dependencies = { { "https://github.com/neovim/nvim-lspconfig" } }, dependencies = { { "https://github.com/neovim/nvim-lspconfig" } },
ft = "lua", ft = "lua",
opts = {}, opts = {},

View File

@ -10,7 +10,7 @@ return {
dependencies = { dependencies = {
{ "https://github.com/nvim-lua/plenary.nvim" }, { "https://github.com/nvim-lua/plenary.nvim" },
}, },
version = "3.x.x", version = "^3",
opts = { opts = {
workspaces = { workspaces = {
{ name = "personal", path = require("plugins.obsidian").vault_path }, { name = "personal", path = require("plugins.obsidian").vault_path },

View File

@ -27,8 +27,8 @@ return {
-- Auto ctags generation -- Auto ctags generation
{ "https://github.com/ludovicchabant/vim-gutentags" }, { "https://github.com/ludovicchabant/vim-gutentags" },
-- Make it easier to discover some of my keymaps
{ {
-- Make it easier to discover some of my keymaps
"https://github.com/folke/which-key.nvim", "https://github.com/folke/which-key.nvim",
opts = { opts = {
-- Ignore warnings about config. Turn these on when switching major versions -- Ignore warnings about config. Turn these on when switching major versions
@ -38,7 +38,7 @@ return {
}, },
}, },
version = utils.map_version_rule({ version = utils.map_version_rule({
[">=0.9.4"] = "3.x.x", [">=0.9.4"] = "^3",
[">=0.9.0"] = "<3.4.0", [">=0.9.0"] = "<3.4.0",
["<0.9.0"] = "1.x.x", ["<0.9.0"] = "1.x.x",
}), }),
@ -53,29 +53,29 @@ return {
}, },
event = "VeryLazy", event = "VeryLazy",
}, },
-- Better commenting
{ {
-- Better commenting
"https://github.com/tomtom/tcomment_vim", "https://github.com/tomtom/tcomment_vim",
keys = { keys = {
{ "//", ":TComment<CR>", desc = "Toggle comment" }, { "//", ":TComment<CR>", desc = "Toggle comment" },
{ "//", ":TCommentBlock<CR>", mode = "v", desc = "Toggle comment" }, { "//", ":TCommentBlock<CR>", mode = "v", desc = "Toggle comment" },
}, },
}, },
-- Allow wrapping and joining of arguments across multiple lines
{ {
"https://github.com/FooSoft/vim-argwrap", -- Allow wrapping and joining of arguments across multiple lines
"https://git.foosoft.net/alex/vim-argwrap",
keys = { keys = {
{ "<Leader>a", "<cmd>ArgWrap<CR>", desc = "Wrap or unwrap arguments" }, { "<Leader>a", "<cmd>ArgWrap<CR>", desc = "Wrap or unwrap arguments" },
}, },
}, },
-- Adds git operations to vim
{ {
-- Adds git operations to vim
"https://github.com/tpope/vim-fugitive", "https://github.com/tpope/vim-fugitive",
tag = utils.map_version_rule({ version = utils.map_version_rule({
[">=0.9.2"] = utils.nil_val, [">=0.9.2"] = "^3",
-- Pinning to avoid neovim bug https://github.com/neovim/neovim/issues/10121 -- Pinning to avoid neovim bug https://github.com/neovim/neovim/issues/10121
-- when used in status line. -- when used in status line.
["<0.9.2"] = "v3.6", ["<0.9.2"] = "3.6",
}), }),
keys = { keys = {
{ "gb", "<cmd>Git blame<CR>", desc = "Git blame" }, { "gb", "<cmd>Git blame<CR>", desc = "Git blame" },
@ -86,17 +86,19 @@ return {
}, },
cmd = { "Git" }, cmd = { "Git" },
}, },
-- Quick toggling of Location and Quickfix lists
{ {
-- Quick toggling of Location and Quickfix lists
"https://github.com/milkypostman/vim-togglelist", "https://github.com/milkypostman/vim-togglelist",
-- Stable plugin, pinning to avoid any issues stemming from possible takeover
commit = "48f0d30292efdf20edc883e61b121e6123e03df7",
keys = { keys = {
{ "<F6>", ":call ToggleQuickfixList()<CR>", desc = "Toggle quickfix" }, { "<F6>", ":call ToggleQuickfixList()<CR>", desc = "Toggle quickfix" },
{ "<F7>", ":call ToggleLocationList()<CR>", desc = "Toggle location list" }, { "<F7>", ":call ToggleLocationList()<CR>", desc = "Toggle location list" },
}, },
}, },
-- Find text everywhere!
{ {
-- Find text everywhere!
"https://github.com/mhinz/vim-grepper", "https://github.com/mhinz/vim-grepper",
config = function() config = function()
-- Grepper settings and shortcuts -- Grepper settings and shortcuts
@ -135,15 +137,15 @@ return {
end, end,
}, },
-- Highlight inline colors
{ {
-- Highlight inline colors
"https://github.com/norcalli/nvim-colorizer.lua", "https://github.com/norcalli/nvim-colorizer.lua",
config = true, config = true,
cmd = { "ColorizerToggle" }, cmd = { "ColorizerToggle" },
}, },
-- Custom status line
{ {
-- Custom status line
"https://github.com/nvim-lualine/lualine.nvim", "https://github.com/nvim-lualine/lualine.nvim",
config = function() config = function()
require("plugins.lualine").config_lualine() require("plugins.lualine").config_lualine()
@ -157,9 +159,11 @@ return {
event = "VeryLazy", event = "VeryLazy",
}, },
-- On Mac, update colors when dark mode changes
{ {
-- On Mac, update colors when dark mode changes
"https://github.com/cormacrelf/dark-notify", "https://github.com/cormacrelf/dark-notify",
-- Pinned because project has had no commits in 4 years
commit = "891adc07dd7b367b840f1e9875b075fd8af4dc52",
enabled = vim.g.is_mac, enabled = vim.g.is_mac,
-- Download latest release on install -- Download latest release on install
build = "curl -s https://api.github.com/repos/cormacrelf/dark-notify/releases/latest | jq '.assets[].browser_download_url' | xargs curl -Ls | tar xz -C ~/.local/bin/", -- luacheck: no max line length build = "curl -s https://api.github.com/repos/cormacrelf/dark-notify/releases/latest | jq '.assets[].browser_download_url' | xargs curl -Ls | tar xz -C ~/.local/bin/", -- luacheck: no max line length
@ -170,8 +174,8 @@ return {
event = "VeryLazy", event = "VeryLazy",
}, },
-- Custom start screen
{ {
-- Custom start screen
"https://github.com/mhinz/vim-startify", "https://github.com/mhinz/vim-startify",
config = function() config = function()
require("utils").require_with_local("plugins.startify") require("utils").require_with_local("plugins.startify")
@ -188,14 +192,14 @@ return {
{ import = "lazy.dap" }, { import = "lazy.dap" },
{ import = "lazy.language_servers" }, { import = "lazy.language_servers" },
-- Better display of lsp diagnostics
{ {
-- Better display of lsp diagnostics
"https://github.com/folke/trouble.nvim", "https://github.com/folke/trouble.nvim",
config = true, config = true,
version = utils.map_version_rule({ version = utils.map_version_rule({
[">=0.9.2"] = "3.x.x", [">=0.9.2"] = "^3",
[">=0.7.2"] = "2.x.x", [">=0.7.2"] = "^2",
["<0.7.2"] = "1.x.x", ["<0.7.2"] = "^1",
}), }),
}, },
@ -213,6 +217,7 @@ return {
-- abolish/pencil -- abolish/pencil
{ {
"https://github.com/preservim/vim-pencil", "https://github.com/preservim/vim-pencil",
version = "^1",
dependencies = { dependencies = {
{ {
"https://github.com/preservim/vim-textobj-sentence", "https://github.com/preservim/vim-textobj-sentence",