summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-06-13 03:41:46 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-06-13 03:41:46 +0800
commited16d2f27b0c70d5d845435708da387db485719e (patch)
treecbba91633a80ee57177ad6a6a3e795fe0ded5255
parent2dc94335203311d87ecf501b34fa9b973b4b8cb0 (diff)
downloadlua-language-server-ed16d2f27b0c70d5d845435708da387db485719e.zip
small fix
-rw-r--r--script/vm/infer.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/vm/infer.lua b/script/vm/infer.lua
index 9db69b4d..712cff10 100644
--- a/script/vm/infer.lua
+++ b/script/vm/infer.lua
@@ -419,5 +419,5 @@ end
---@param source parser.object
---@return string?
function vm.viewObject(source)
- return viewNodeSwitch(source.type, source, {})
+ return viewNodeSwitch(source.type, source, {}, guide.getUri(source))
end