Skip to content

Commit

Permalink
fix: stop using deprecated Rocks packadd
Browse files Browse the repository at this point in the history
  • Loading branch information
mrcjkb authored May 5, 2024
1 parent b27ce60 commit 09b24aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/rocks_treesitter/highlight.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 09b24aa

Please sign in to comment.