summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--script/library.lua2
-rw-r--r--script/provider/provider.lua4
2 files changed, 4 insertions, 2 deletions
diff --git a/script/library.lua b/script/library.lua
index 208b10ed..b4333dca 100644
--- a/script/library.lua
+++ b/script/library.lua
@@ -243,7 +243,7 @@ local function initBuiltIn(uri)
if status == 'disable' then
goto CONTINUE
end
-
+
---@type fs.path
local libPath = templateDir / (libName .. '.lua')
local metaDoc = compileSingleMetaDoc(uri, fsu.loadFile(libPath), metaLang, status)
diff --git a/script/provider/provider.lua b/script/provider/provider.lua
index 2ac9fd55..2f1451b0 100644
--- a/script/provider/provider.lua
+++ b/script/provider/provider.lua
@@ -19,7 +19,9 @@ local scope = require 'workspace.scope'
local furi = require 'file-uri'
local inspect = require 'inspect'
local guide = require 'parser.guide'
-local fs = require 'bee.filesystem'
+local fs = require 'bee.filesystem'
+
+require 'library'
---@async
local function updateConfig(uri)