diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-01-27 16:59:05 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-01-27 16:59:05 +0800 |
commit | e72f5143dc1d2d41763b74809b1ffe5ec5f426c2 (patch) | |
tree | 50065e80f626ab286795e13c4cdfa195305be31f /script/workspace | |
parent | 219c802e4e6a67aa9c4a1b4a5bd7886f8181b7c4 (diff) | |
download | lua-language-server-e72f5143dc1d2d41763b74809b1ffe5ec5f426c2.zip |
fix modifying the code before loading finish
Diffstat (limited to 'script/workspace')
-rw-r--r-- | script/workspace/workspace.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/workspace/workspace.lua b/script/workspace/workspace.lua index ec30c9ea..94b1d9e5 100644 --- a/script/workspace/workspace.lua +++ b/script/workspace/workspace.lua @@ -200,7 +200,7 @@ local function loadFileFactory(root, progressData, isLibrary) log.info('++++As library of:', root) files.setLibraryPath(uri, root) end - files.setText(uri, text) + files.setText(uri, text, false) else files.remove(uri) end |