diff options
author | NeOzay <colpaert.benoit@gmail.com> | 2024-07-13 17:21:17 +0200 |
---|---|---|
committer | NeOzay <colpaert.benoit@gmail.com> | 2024-07-13 17:21:17 +0200 |
commit | b77daee2d5788c34b48d8ea0c13d754c2d943a3a (patch) | |
tree | 52ffb60552e7d5b16d7c262fb6d3ad34fe7750f3 /script | |
parent | 9fa74cb832f4d0af6bc1cd2ef6ec537c64d4025c (diff) | |
parent | 256689690a107b134b642c6d7b1b57cc77c95f69 (diff) | |
download | lua-language-server-b77daee2d5788c34b48d8ea0c13d754c2d943a3a.zip |
Merge branch 'fix-missing-check-for-'inject-field'' into fixes-a-specific-case-for-getVisibleType
Diffstat (limited to 'script')
-rw-r--r-- | script/core/diagnostics/inject-field.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/script/core/diagnostics/inject-field.lua b/script/core/diagnostics/inject-field.lua index 2866eef8..e1ef02a3 100644 --- a/script/core/diagnostics/inject-field.lua +++ b/script/core/diagnostics/inject-field.lua @@ -68,6 +68,9 @@ return function (uri, callback) if def.type == 'doc.field' then return end + if def.type == 'tablefield' and not isExact then + return + end end local howToFix = '' |