Skip to content

Commit df7a12d

Browse files
authored
Merge pull request #833 from phanen/doccli-boolean
fix(emmylua_doc_cli): generate boolean literal
2 parents b4e89c5 + 6b43ed4 commit df7a12d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crates/emmylua_doc_cli/src/common.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ pub fn render_const(typ: &LuaType) -> Option<String> {
1717
LuaType::StringConst(s) | LuaType::DocStringConst(s) => {
1818
Some(format!("{:?}", s.to_string()))
1919
}
20+
LuaType::BooleanConst(b) => Some(b.to_string()),
2021
_ => None,
2122
}
2223
}

0 commit comments

Comments
 (0)