Skip to content

Commit 6b43ed4

Browse files
committed
fix(emmylua_doc_cli): generate boolean literal
1 parent b4e89c5 commit 6b43ed4

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)