From 4fd4599bf027b87568e01af0b0b04c9f4a087a93 Mon Sep 17 00:00:00 2001 From: Vhyrro Date: Wed, 17 Apr 2024 20:59:39 +0200 Subject: [PATCH] fix: access rocks_nvim instead of rocks_config --- bootstrap.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootstrap.lua b/bootstrap.lua index e639c0e2..166d8dc6 100644 --- a/bootstrap.lua +++ b/bootstrap.lua @@ -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")