Skip to content

Commit

Permalink
fix: access rocks_nvim instead of rocks_config
Browse files Browse the repository at this point in the history
  • Loading branch information
vhyrro committed Apr 18, 2024
1 parent cd213f4 commit 4fd4599
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bootstrap.lua
Expand Up @@ -7,7 +7,7 @@
-- The rocks.nvim plugin is already loaded via the vim.opt.runtimepath:append()
-- call in the `init.lua` bootstrapping script.

local config_data = vim.g.rocks_config
local config_data = vim.g.rocks_nvim or {}
local install_path = config_data.rocks_path or vim.fs.joinpath(vim.fn.stdpath("data"), "rocks")
local luarocks_binary = config_data.luarocks_binary or vim.fs.joinpath(install_location, "bin", "luarocks")

Expand Down

0 comments on commit 4fd4599

Please sign in to comment.