commit 217828b20c9fc224c6892ce1b0129850c280f598
parent d87ecfc8bc3c737e2e7f766d365e67dd08c3b600
Author: Ilia Choly <ilia.choly@gmail.com>
Date: Thu, 30 May 2024 13:25:06 -0400
fixup! docs(luacats): add tuple support
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/luacats_grammar.lua b/scripts/luacats_grammar.lua
@@ -180,7 +180,7 @@ local grammar = P {
fun_param = lname * opt(colon * v.ltype),
ty_fun = Pf('fun') * paren(comma(lname * opt(colon * v.ltype))) * opt(colon * comma1(v.ltype)),
ty_generic = P('`') * letter * P('`'),
- ty_tuple = Pf('[') * comma(v.ty_opt) * fill * P(']')
+ ty_tuple = Pf('[') * comma(v.ty_opt) * fill * P(']'),
}
return grammar --[[@as nvim.luacats.grammar]]