Fix nvim config: copy files directly instead of submodule

This commit is contained in:
2026-06-07 23:04:54 +03:30
parent 4dfabb4710
commit 4126c53488
17 changed files with 798 additions and 1 deletions

View File

@@ -0,0 +1,20 @@
return {
{
"vhyrro/luarocks.nvim",
priority = 1000,
opts = {
rocks = { "lua-curl", "nvim-nio", "mimetypes", "xml2lua" },
},
config = function(_, opts)
local plugin_path = vim.fn.stdpath("data") .. "/lazy/luarocks.nvim"
local vendor_path = plugin_path .. "/.rocks/share/lua/5.1/luarocks/vendor/?.lua"
package.path = package.path .. ";" .. vendor_path
require("luarocks-nvim").setup(opts)
end,
},
{
"rest-nvim/rest.nvim",
ft = "http",
dependencies = { "luarocks.nvim" },
},
}