diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2023-01-17 16:44:06 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2023-01-17 16:44:06 +0800 |
commit | 6c89b0a55de7e47c9300b4f42421d8f45433da4c (patch) | |
tree | d4fb9856bfba1807cb770884edc57fe79a3df80d /script/vm | |
parent | 69b22d87c64af7e6da633366c45b44735f92ef0a (diff) | |
download | lua-language-server-6c89b0a55de7e47c9300b4f42421d8f45433da4c.zip |
more special treates for meta files
Diffstat (limited to 'script/vm')
-rw-r--r-- | script/vm/compiler.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/script/vm/compiler.lua b/script/vm/compiler.lua index a6eda13e..3342710a 100644 --- a/script/vm/compiler.lua +++ b/script/vm/compiler.lua @@ -1744,6 +1744,12 @@ local compilerSwitch = util.switch() if firstSet then local setNode = vm.compileNode(firstSet) vm.setNode(source, setNode) + if vm.isMetaFile(luri) then + for i = 2, #link.sets do + setNode = vm.compileNode(link.sets[i]) + vm.setNode(source, setNode) + end + end end end end |