diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2023-03-08 22:07:21 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2023-03-08 22:07:21 +0800 |
commit | 7ef36fadb3607f8472239bd435b666399b0327d1 (patch) | |
tree | 10c0558793449a89bd13678a3ef4471bfc2094ab /script | |
parent | 2704d390c550515d1b510a7277841288ee73f1bb (diff) | |
download | lua-language-server-7ef36fadb3607f8472239bd435b666399b0327d1.zip |
fix #1928
Diffstat (limited to 'script')
-rw-r--r-- | script/vm/compiler.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/script/vm/compiler.lua b/script/vm/compiler.lua index b97517ba..8487ec56 100644 --- a/script/vm/compiler.lua +++ b/script/vm/compiler.lua @@ -1357,6 +1357,7 @@ local compilerSwitch = util.switch() if src.type == 'doc.field' or src.type == 'doc.type.field' or src.type == 'doc.type.name' + or src.type == 'doc.type' or guide.isLiteral(src) then hasMarkDoc = true vm.setNode(source, vm.compileNode(src)) |