summaryrefslogtreecommitdiff
path: root/script/core/completion/completion.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/core/completion/completion.lua')
-rw-r--r--script/core/completion/completion.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/script/core/completion/completion.lua b/script/core/completion/completion.lua
index b613a1f2..8e1ef696 100644
--- a/script/core/completion/completion.lua
+++ b/script/core/completion/completion.lua
@@ -1406,7 +1406,8 @@ local function tryCallArg(state, position, results)
local enums = {}
for src in nodeMgr.eachNode(node) do
if src.type == 'doc.type.string'
- or src.type == 'doc.type.integer' then
+ or src.type == 'doc.type.integer'
+ or src.type == 'doc.type.boolean' then
enums[#enums+1] = {
label = util.viewLiteral(src[1]),
description = src.comment,