Skip to content

Commit a733ae4

Browse files
committed
update local var hint
1 parent 9ee4bf7 commit a733ae4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

crates/emmylua_ls/src/handlers/inlay_hint/build_inlay_hint.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ fn build_local_name_hint(
334334

335335
// 目前没时间完善结合 ast 的类型过滤, 所以只允许一些类型显示
336336
match typ {
337-
LuaType::Ref(_) => {}
337+
LuaType::Ref(_) | LuaType::Generic(_) => {}
338338
_ => {
339339
return Some(());
340340
}

0 commit comments

Comments
 (0)