summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeOzay <colpaert.benoit@gmail.com>2024-07-08 18:16:54 +0200
committerNeOzay <colpaert.benoit@gmail.com>2024-07-08 18:16:54 +0200
commit8c1e12116037954ee2e3759c9354ab99fcd6bd86 (patch)
tree1655570590c6c84a5e9e1daf460c8c0ba1853772
parent67a55a4afd1e19f3f8bfec2464750fb0b52223f2 (diff)
downloadlua-language-server-8c1e12116037954ee2e3759c9354ab99fcd6bd86.zip
fix: correction for `exact` class
-rw-r--r--script/core/diagnostics/inject-field.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/core/diagnostics/inject-field.lua b/script/core/diagnostics/inject-field.lua
index ec027c21..e1ef02a3 100644
--- a/script/core/diagnostics/inject-field.lua
+++ b/script/core/diagnostics/inject-field.lua
@@ -68,7 +68,7 @@ return function (uri, callback)
if def.type == 'doc.field' then
return
end
- if def.type == 'tablefield' then
+ if def.type == 'tablefield' and not isExact then
return
end
end