···55 -- Set up configuration options related to rocks.nvim (recommended to leave as default)
66 local rocks_config = {
77 rocks_path = vim.fs.normalize(install_location),
88- -- NOTE: don't know why but rocks.nvim in macos can't set the correct value to
99- -- `luarocks_binary` so set it manually.
1010- luarocks_binary = "luarocks",
118 }
129 if vim.fn.has('mac') == 1 then
1010+ -- NOTE: don't know why but rocks.nvim in macos can't set the correct value to
1111+ -- `luarocks_binary` so set it manually.
1212+ rocks_config.luarocks_binary = "luarocks"
1313 rocks_config.luarocks_config = {
1414 arch = "macosx-aarch64"
1515 }