mirror of
https://github.com/ViViDboarder/vim-settings.git
synced 2024-12-22 23:27:34 +00:00
Update version pinning for newer nvims
This commit is contained in:
parent
fa723c8005
commit
474cfc0604
@ -253,7 +253,7 @@
|
|||||||
},
|
},
|
||||||
"which-key.nvim": {
|
"which-key.nvim": {
|
||||||
"branch": "main",
|
"branch": "main",
|
||||||
"commit": "4b7167f8fb2dba3d01980735e3509e172c024c29"
|
"commit": "8600b0029896ad2e36eb27a0808614ab8a0c057a"
|
||||||
},
|
},
|
||||||
"wombat.nvim": {
|
"wombat.nvim": {
|
||||||
"branch": "main",
|
"branch": "main",
|
||||||
|
@ -62,12 +62,24 @@ return {
|
|||||||
{
|
{
|
||||||
"https://github.com/folke/which-key.nvim",
|
"https://github.com/folke/which-key.nvim",
|
||||||
opts = {
|
opts = {
|
||||||
triggers_blacklist = {
|
-- Ignore warnings about config. Turn these on when switching major versions
|
||||||
i = { "j", "k", "`" },
|
notify = false,
|
||||||
v = { "j", "k" },
|
},
|
||||||
|
version = utils.map_version_rule({
|
||||||
|
[">=0.9.4"] = "3.x.x",
|
||||||
|
[">=0.9.0"] = "<3.4.0",
|
||||||
|
["<0.9.0"] = "1.x.x",
|
||||||
|
}),
|
||||||
|
keys = {
|
||||||
|
{
|
||||||
|
"<leader>?",
|
||||||
|
function()
|
||||||
|
require("which-key").show({ global = false })
|
||||||
|
end,
|
||||||
|
desc = "Buffer Local Keymaps (which-key)",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
version = "1.x.x",
|
event = "VeryLazy",
|
||||||
},
|
},
|
||||||
-- Better commenting
|
-- Better commenting
|
||||||
{
|
{
|
||||||
@ -342,23 +354,18 @@ return {
|
|||||||
{
|
{
|
||||||
"https://github.com/nvim-treesitter/nvim-treesitter",
|
"https://github.com/nvim-treesitter/nvim-treesitter",
|
||||||
build = ":TSUpdate",
|
build = ":TSUpdate",
|
||||||
commit = utils.map_version_rule({
|
version = utils.map_version_rule({
|
||||||
[">=0.8.0"] = utils.nil_val,
|
[">=0.9.2"] = "0.9.x",
|
||||||
[">=0.7.0"] = "4cccb6f494eb255b32a290d37c35ca12584c74d0",
|
[">=0.9.0"] = "0.9.1",
|
||||||
[">=0.6.0"] = "bc25a6a5",
|
|
||||||
}),
|
}),
|
||||||
config = function()
|
config = function()
|
||||||
require("utils").require_with_local("plugins.treesitter").setup()
|
require("utils").require_with_local("plugins.treesitter").setup()
|
||||||
end,
|
end,
|
||||||
},
|
dependencies = {
|
||||||
{
|
{
|
||||||
"https://github.com/nvim-treesitter/nvim-treesitter-textobjects",
|
"https://github.com/nvim-treesitter/nvim-treesitter-textobjects",
|
||||||
dependencies = { { "https://github.com/nvim-treesitter/nvim-treesitter" } },
|
},
|
||||||
commit = utils.map_version_rule({
|
},
|
||||||
[">=0.8.0"] = utils.nil_val,
|
|
||||||
[">=0.7.0"] = "8673926519ea61069f9c1366d1ad1949316d250e",
|
|
||||||
["<0.7.0"] = "eca3bf30334f85259d41dc060d50994f8f91ef7d",
|
|
||||||
}),
|
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
|
@ -41,6 +41,7 @@ function M.setup()
|
|||||||
disable = {},
|
disable = {},
|
||||||
},
|
},
|
||||||
ensure_installed = M.ensure_installed,
|
ensure_installed = M.ensure_installed,
|
||||||
|
auto_install = false,
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user