summaryrefslogtreecommitdiff
path: root/script/core/diagnostics/undefined-global.lua
diff options
context:
space:
mode:
authorSewbacca <sebastian.kalus@kolabnow.com>2023-06-27 21:33:27 +0200
committerSewbacca <sebastian.kalus@kolabnow.com>2023-06-27 21:33:27 +0200
commit62068c0709d2fd131607940852b0d938b43794b4 (patch)
tree0d0f6ff3a340334491fb73a62e4d0c0d23c81641 /script/core/diagnostics/undefined-global.lua
parent82743b19dc64cc9b1859f9a81246d5b4f7a494b5 (diff)
downloadlua-language-server-62068c0709d2fd131607940852b0d938b43794b4.zip
Added crossfile testcase
Improved eq error message in test/code_action/init.lua Uses core.diagnostics.undefined-global
Diffstat (limited to 'script/core/diagnostics/undefined-global.lua')
-rw-r--r--script/core/diagnostics/undefined-global.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/script/core/diagnostics/undefined-global.lua b/script/core/diagnostics/undefined-global.lua
index 179c9204..87501277 100644
--- a/script/core/diagnostics/undefined-global.lua
+++ b/script/core/diagnostics/undefined-global.lua
@@ -55,6 +55,7 @@ return function (uri, callback)
start = src.start,
finish = src.finish,
message = message,
+ undefinedGlobal = src[1]
}
end)
end