nvim-config

Log | Files | Refs | Submodules | README

nluarocks.lua (267B)


      1 local lrpath = vim.fn.systemlist { "luarocks", "path", "--lr-path" }[1]
      2 local lrcpath = vim.fn.systemlist { "luarocks", "path", "--lr-cpath" }[1]
      3 
      4 package.path = package.path .. ";" .. lrpath
      5 package.cpath = package.cpath .. ";" .. lrcpath
      6 
      7 require 'luarocks.loader'