From 09b24aa8b240e67655a2faf796665a1787e92fbf Mon Sep 17 00:00:00 2001 From: Marc Jakobi Date: Sun, 5 May 2024 12:23:17 +0200 Subject: [PATCH] fix: stop using deprecated `Rocks packadd` --- lua/rocks_treesitter/highlight.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/rocks_treesitter/highlight.lua b/lua/rocks_treesitter/highlight.lua index ee34dc1..61b74ee 100644 --- a/lua/rocks_treesitter/highlight.lua +++ b/lua/rocks_treesitter/highlight.lua @@ -45,7 +45,7 @@ end ---@param rock Rock local function try_start_highlight(rock) - local success = pcall(vim.cmd.Rocks, { "packadd", rock.name, bang = true }) + local success = pcall(vim.cmd.packadd, { rock.name, bang = true }) if not success then return end