diff options
Diffstat (limited to 'script/core/diagnostics/duplicate-set-field.lua')
-rw-r--r-- | script/core/diagnostics/duplicate-set-field.lua | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/script/core/diagnostics/duplicate-set-field.lua b/script/core/diagnostics/duplicate-set-field.lua index bf7fd069..7c857a51 100644 --- a/script/core/diagnostics/duplicate-set-field.lua +++ b/script/core/diagnostics/duplicate-set-field.lua @@ -30,6 +30,13 @@ return function (uri, callback) if not name then goto CONTINUE end + local value = guide.getObjectValue(nxt) + if value then + if value.type == 'boolean' + or value.type == 'nil' then + goto CONTINUE + end + end if not sets[name] then sets[name] = {} end |