diff options
author | Ilia Choly <ilia.choly@gmail.com> | 2024-05-30 13:25:06 -0400 |
---|---|---|
committer | Lewis Russell <me@lewisr.dev> | 2024-05-31 15:00:17 +0100 |
commit | 217828b20c9fc224c6892ce1b0129850c280f598 (patch) | |
tree | 795efe12db231c7590d750f493bfbd001c2cf38e /scripts/luacats_grammar.lua | |
parent | d87ecfc8bc3c737e2e7f766d365e67dd08c3b600 (diff) | |
download | rneovim-217828b20c9fc224c6892ce1b0129850c280f598.tar.gz rneovim-217828b20c9fc224c6892ce1b0129850c280f598.tar.bz2 rneovim-217828b20c9fc224c6892ce1b0129850c280f598.zip |
fixup! docs(luacats): add tuple support
Diffstat (limited to 'scripts/luacats_grammar.lua')
-rw-r--r-- | scripts/luacats_grammar.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/luacats_grammar.lua b/scripts/luacats_grammar.lua index 906f66c18a..6742eab5e9 100644 --- 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]] |