Skip to content

Commit a796be0

Browse files
committed
Fix alias grammar support
1 parent d0ae394 commit a796be0

File tree

1 file changed

+2
-0
lines changed
  • crates/emmylua_parser/src/grammar/doc

1 file changed

+2
-0
lines changed

crates/emmylua_parser/src/grammar/doc/tag.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,8 @@ fn parse_tag_alias(p: &mut LuaDocParser) -> ParseResult {
207207
parse_generic_decl_list(p, true)?;
208208
}
209209

210+
if_token_bump(p, LuaTokenKind::TkDocDetail);
211+
210212
parse_type(p)?;
211213

212214
p.set_state(LuaDocLexerState::Description);

0 commit comments

Comments
 (0)