1
0
forked from aniani/vim

runtime(vim): Update base-syntax, match tuples

Tuples were introduced in commit 9cb865e.  See PR #16776.

fixes: #16965
closes: #16935

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Doug Kearns
2025-03-28 19:36:37 +01:00
committed by Christian Brabandt
parent 532c5aec6f
commit 722fbd1554
60 changed files with 846 additions and 640 deletions

View File

@@ -173,6 +173,21 @@ echo #{
" match as keys not scope dictionaries
echo #{ b: 42, w: 42, t: 42, g: 42, l: 42, s: 42, a: 42, v: 42 }
" Tuple
echo ()
echo (42,)
echo ((11, 12), (21, 22), (31, 32))
echo (1,
\ 2,
\ 3,
\ 4
\)
echo (1, 'two', 1 + 2, "fo" .. "ur")
echo foo + (42, 87)
echo (42, 87) + foo
" Register
echo @"