diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-08-17 04:33:15 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-08-17 04:33:15 +0800 |
commit | 4d5e77a7cde682f45163162292f283e5ed378db0 (patch) | |
tree | 8234bbc3acf09f71df5c466efed93f08c067b90e | |
parent | 059442e0c9f667ab73dc3eb5a9bebaa5fc6fe0f5 (diff) | |
download | lua-language-server-4d5e77a7cde682f45163162292f283e5ed378db0.zip |
fix
-rw-r--r-- | script/library.lua | 2 | ||||
-rw-r--r-- | script/provider/provider.lua | 4 |
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) |