diff options
Diffstat (limited to 'script/provider/provider.lua')
-rw-r--r-- | script/provider/provider.lua | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/script/provider/provider.lua b/script/provider/provider.lua index 451a3fc4..26c0a777 100644 --- a/script/provider/provider.lua +++ b/script/provider/provider.lua @@ -1341,7 +1341,15 @@ m.register 'workspace/diagnostic' { m.register '$/api/report' { ---@async function (params) - require 'provider.build-meta'.build('default', params) + local buildMeta = require 'provider.build-meta' + local dir = buildMeta.build('default', params) + client.setConfig { + { + key = 'Lua.runtime.library', + action = 'add', + value = dir, + } + } end } |