diff options
author | Ilia Choly <ilia.choly@gmail.com> | 2024-05-30 13:11:21 -0400 |
---|---|---|
committer | Lewis Russell <me@lewisr.dev> | 2024-05-31 15:00:17 +0100 |
commit | d87ecfc8bc3c737e2e7f766d365e67dd08c3b600 (patch) | |
tree | 0be036ddd85219bbb59ce950029dbd4dec4e12a8 /test/functional/script/luacats_grammar_spec.lua | |
parent | 6566a59b3a6c8dabfa40f8debd0de96d875825e9 (diff) | |
download | rneovim-d87ecfc8bc3c737e2e7f766d365e67dd08c3b600.tar.gz rneovim-d87ecfc8bc3c737e2e7f766d365e67dd08c3b600.tar.bz2 rneovim-d87ecfc8bc3c737e2e7f766d365e67dd08c3b600.zip |
docs(luacats): add tuple support
Diffstat (limited to 'test/functional/script/luacats_grammar_spec.lua')
-rw-r--r-- | test/functional/script/luacats_grammar_spec.lua | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/functional/script/luacats_grammar_spec.lua b/test/functional/script/luacats_grammar_spec.lua index 6d444e1888..d6fff3f409 100644 --- a/test/functional/script/luacats_grammar_spec.lua +++ b/test/functional/script/luacats_grammar_spec.lua @@ -159,4 +159,11 @@ describe('luacats grammar', function() name = 'type', type = '`T`', }) + + test('@param type [number,string] this is a tuple type', { + desc = 'this is a tuple type', + kind = 'param', + name = 'type', + type = '[number,string]', + }) end) |