forked from aniani/vim
runtime(vim): Update base-syntax, improve function definition highlighting (#14203)
Improve function definition highlighting. - Match bang and function modifiers - abort etc. - Only match valid scope modifiers. - Match listing commands. - Don't match ex commands in function names. - Split function syntax groups into :func and :def subgroups. - Match Vim9-script parameter and return types. - Limit legacy-script and Vim9-script comments to :func and :def definitions, respectively. Signed-off-by: Doug Kearns <dougkearns@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
20
runtime/syntax/testdir/dumps/vim_ex_def_00.dump
Normal file
20
runtime/syntax/testdir/dumps/vim_ex_def_00.dump
Normal file
@@ -0,0 +1,20 @@
|
||||
>"+0#0000e05#ffffff0| |V|i|m| |:|d|e|f| |c|o|m@1|a|n|d| +0#0000000&@56
|
||||
@75
|
||||
@75
|
||||
|"+0#0000e05&| |l|i|s|t| +0#0000000&@68
|
||||
@75
|
||||
|d+0#af5f00255&|e|f| +0#0000000&@71
|
||||
|d+0#af5f00255&|e|f| +0#0000000&|F|o@1| @67
|
||||
|d+0#af5f00255&|e|f| +0#0000000&|/+0#af5f00255&|F+0#0000000&|o@1|.|*| @64
|
||||
@75
|
||||
|d+0#af5f00255&|e|f| +0#0000000&||| |e+0#af5f00255&|c|h|o| +0#0000000&|"+0#e000002&|F|o@1|"| +0#0000000&@58
|
||||
|d+0#af5f00255&|e|f| +0#0000000&|"+0#0000e05&| |c|o|m@1|e|n|t| +0#0000000&@61
|
||||
|d+0#af5f00255&|e|f| +0#0000000&|F|o@1| ||| |e+0#af5f00255&|c|h|o| +0#0000000&|"+0#e000002&|F|o@1|"| +0#0000000&@54
|
||||
|d+0#af5f00255&|e|f| +0#0000000&|F|o@1| |"+0#0000e05&| |c|o|m@1|e|n|t| +0#0000000&@57
|
||||
@75
|
||||
@75
|
||||
|"+0#0000e05&| |d|e|f|i|n|i|t|i|o|n| +0#0000000&@62
|
||||
@75
|
||||
|"+0#0000e05&| |e|m|p|t|y| |d|e|f|i|n|i|t|i|o|n| +0#0000000&@56
|
||||
|d+0#af5f00255&|e|f| +0#0000000&|F|o@1|(+0#e000e06&|)| +0#0000000&@65
|
||||
@57|1|,|1| @10|T|o|p|
|
20
runtime/syntax/testdir/dumps/vim_ex_def_01.dump
Normal file
20
runtime/syntax/testdir/dumps/vim_ex_def_01.dump
Normal file
@@ -0,0 +1,20 @@
|
||||
| +0&#ffffff0@74
|
||||
@75
|
||||
|"+0#0000e05&| |d|e|f|i|n|i|t|i|o|n| +0#0000000&@62
|
||||
@75
|
||||
|"+0#0000e05&| |e|m|p|t|y| |d|e|f|i|n|i|t|i|o|n| +0#0000000&@56
|
||||
>d+0#af5f00255&|e|f| +0#0000000&|F|o@1|(+0#e000e06&|)| +0#0000000&@65
|
||||
|e+0#af5f00255&|n|d@1|e|f| +0#0000000&@68
|
||||
@75
|
||||
|#+0#0000e05&| |c|u|r|l|y|-|b|r|a|c|e| |n|a|m|e|s| +0#0000000&@55
|
||||
|d+0#af5f00255&|e|f| +0#0000000&|{|"|F|"|}|o@1|(+0#e000e06&|)| +0#0000000&@61
|
||||
|e+0#af5f00255&|n|d@1|e|f| +0#0000000&@68
|
||||
@75
|
||||
|d+0#af5f00255&|e|f| +0#0000000&|F|{|"|o|"|}|o|(+0#e000e06&|)| +0#0000000&@61
|
||||
|e+0#af5f00255&|n|d@1|e|f| +0#0000000&@68
|
||||
@75
|
||||
|d+0#af5f00255&|e|f| +0#0000000&|F|o|{|"|o|"|}|(+0#e000e06&|)| +0#0000000&@61
|
||||
|e+0#af5f00255&|n|d@1|e|f| +0#0000000&@68
|
||||
@75
|
||||
|d+0#af5f00255&|e|f| +0#0000000&|{|"|F|"|}|o|{|"|o|"|}|(+0#e000e06&|)| +0#0000000&@57
|
||||
@57|1|9|,|1| @9|1|2|%|
|
20
runtime/syntax/testdir/dumps/vim_ex_def_02.dump
Normal file
20
runtime/syntax/testdir/dumps/vim_ex_def_02.dump
Normal file
@@ -0,0 +1,20 @@
|
||||
|d+0#af5f00255#ffffff0|e|f| +0#0000000&|{|"|F|"|}|o|{|"|o|"|}|(+0#e000e06&|)| +0#0000000&@57
|
||||
|e+0#af5f00255&|n|d@1|e|f| +0#0000000&@68
|
||||
@75
|
||||
|d+0#af5f00255&|e|f| +0#0000000&|{|"|F|"|}|{|"|o|"|}|{|"|o|"|}|(+0#e000e06&|)| +0#0000000&@53
|
||||
|e+0#af5f00255&|n|d@1|e|f| +0#0000000&@68
|
||||
> @74
|
||||
|d+0#af5f00255&|e|f| +0#0000000&|F|o@1|(+0#e000e06&|)|:+0#0000000&| |n+0#00e0003&|u|m|b|e|r| +0#0000000&@57
|
||||
@2|r+0#af5f00255&|e|t|u|r|n| +0#0000000&|4+0#e000002&|2| +0#0000000&@63
|
||||
|e+0#af5f00255&|n|d@1|e|f| +0#0000000&@68
|
||||
@75
|
||||
|#+0#0000e05&| |t|r|a|i|l|i|n|g| |w|h|i|t|e|s|p|a|c|e| +0#0000000&@53
|
||||
|d+0#af5f00255&|e|f| +0#0000000&|F|o@1|(+0#e000e06&|)|:+0#0000000&| |n+0#00e0003&|u|m|b|e|r| +0#0000000&@57
|
||||
@2|r+0#af5f00255&|e|t|u|r|n| +0#0000000&|4+0#e000002&|2| +0#0000000&@63
|
||||
|e+0#af5f00255&|n|d@1|e|f| +0#0000000&@68
|
||||
@75
|
||||
|d+0#af5f00255&|e|f| +0#0000000&|F|o@1|(+0#e000e06&|)| +0#0000000&|#+0#0000e05&| |c|o|m@1|e|n|t| +0#0000000&@55
|
||||
|e+0#af5f00255&|n|d@1|e|f| +0#0000000&@68
|
||||
@75
|
||||
|d+0#af5f00255&|e|f| +0#0000000&|F|o@1|(+0#e000e06&|)|:+0#0000000&| |n+0#00e0003&|u|m|b|e|r| +0#0000000&|#+0#0000e05&| |c|o|m@1|e|n|t| +0#0000000&@47
|
||||
@57|3|7|,|0|-|1| @7|2|9|%|
|
20
runtime/syntax/testdir/dumps/vim_ex_def_03.dump
Normal file
20
runtime/syntax/testdir/dumps/vim_ex_def_03.dump
Normal file
@@ -0,0 +1,20 @@
|
||||
|d+0#af5f00255#ffffff0|e|f| +0#0000000&|F|o@1|(+0#e000e06&|)|:+0#0000000&| |n+0#00e0003&|u|m|b|e|r| +0#0000000&|#+0#0000e05&| |c|o|m@1|e|n|t| +0#0000000&@47
|
||||
@2|r+0#af5f00255&|e|t|u|r|n| +0#0000000&|4+0#e000002&|2| +0#0000000&@63
|
||||
|e+0#af5f00255&|n|d@1|e|f| +0#0000000&@68
|
||||
@75
|
||||
|d+0#af5f00255&|e|f|!| +0#0000000&|F|o@1|(+0#e000e06&|)|:+0#0000000&| |n+0#00e0003&|u|m|b|e|r| +0#0000000&@56
|
||||
@2>r+0#af5f00255&|e|t|u|r|n| +0#0000000&|4+0#e000002&|2| +0#0000000&@63
|
||||
|e+0#af5f00255&|n|d@1|e|f| +0#0000000&@68
|
||||
@75
|
||||
|d+0#af5f00255&|e|f| +0#0000000&|g+0#e000e06&|:|F+0#0000000&|o@1|(+0#e000e06&|)|:+0#0000000&| |n+0#00e0003&|u|m|b|e|r| +0#0000000&@55
|
||||
@2|r+0#af5f00255&|e|t|u|r|n| +0#0000000&|4+0#e000002&|2| +0#0000000&@63
|
||||
|e+0#af5f00255&|n|d@1|e|f| +0#0000000&@68
|
||||
@75
|
||||
|d+0#af5f00255&|e|f| +0#0000000&|s+0#e000e06&|:|F+0#0000000&|o@1|(+0#e000e06&|)|:+0#0000000&| |n+0#00e0003&|u|m|b|e|r| +0#0000000&@55
|
||||
@2|r+0#af5f00255&|e|t|u|r|n| +0#0000000&|4+0#e000002&|2| +0#0000000&@63
|
||||
|e+0#af5f00255&|n|d@1|e|f| +0#0000000&@68
|
||||
@75
|
||||
|d+0#af5f00255&|e|f| +0#0000000&|<+0#e000e06&|S|I|D|>|F+0#0000000&|o@1|(+0#e000e06&|)|:+0#0000000&| |n+0#00e0003&|u|m|b|e|r| +0#0000000&@52
|
||||
@2|r+0#af5f00255&|e|t|u|r|n| +0#0000000&|4+0#e000002&|2| +0#0000000&@63
|
||||
|e+0#af5f00255&|n|d@1|e|f| +0#0000000&@68
|
||||
@57|5@1|,|3| @9|4|6|%|
|
20
runtime/syntax/testdir/dumps/vim_ex_def_04.dump
Normal file
20
runtime/syntax/testdir/dumps/vim_ex_def_04.dump
Normal file
@@ -0,0 +1,20 @@
|
||||
|e+0#af5f00255#ffffff0|n|d@1|e|f| +0#0000000&@68
|
||||
@75
|
||||
|d+0#af5f00255&|e|f| +0#0000000&|f|o@1|#|b|a|r|#|F|o@1|(+0#e000e06&|)|:+0#0000000&| |n+0#00e0003&|u|m|b|e|r| +0#0000000&@49
|
||||
@2|r+0#af5f00255&|e|t|u|r|n| +0#0000000&|4+0#e000002&|2| +0#0000000&@63
|
||||
|e+0#af5f00255&|n|d@1|e|f| +0#0000000&@68
|
||||
> @74
|
||||
|"+0#0000e05&| |s|a|m|e| |n|a|m|e| |a|s| |a|n| |E|x| |c|o|m@1|a|n|d| +0#0000000&@46
|
||||
|d+0#af5f00255&|e|f| +0#0000000&|s+0#e000e06&|:|l+0#0000000&|s|(+0#e000e06&|)| +0#0000000&@64
|
||||
|e+0#af5f00255&|n|d@1|e|f| +0#0000000&@68
|
||||
@75
|
||||
@75
|
||||
|"+0#0000e05&| |r|e|t|u|r|n| |t|y|p|e|s| +0#0000000&@60
|
||||
@75
|
||||
|d+0#af5f00255&|e|f| +0#0000000&|F|o@1|(+0#e000e06&|)|:+0#0000000&| |v+0#00e0003&|o|i|d| +0#0000000&@59
|
||||
|e+0#af5f00255&|n|d@1|e|f| +0#0000000&@68
|
||||
@75
|
||||
|d+0#af5f00255&|e|f| +0#0000000&|F|o@1|(+0#e000e06&|)|:+0#0000000&| |v+0#00e0003&|o|i|d| +0#0000000&|#+0#0000e05&| |c|o|m@1|e|n|t| +0#0000000&@49
|
||||
|e+0#af5f00255&|n|d@1|e|f| +0#0000000&@68
|
||||
@75
|
||||
@57|7|3|,|0|-|1| @7|6|3|%|
|
20
runtime/syntax/testdir/dumps/vim_ex_def_05.dump
Normal file
20
runtime/syntax/testdir/dumps/vim_ex_def_05.dump
Normal file
@@ -0,0 +1,20 @@
|
||||
|d+0#af5f00255#ffffff0|e|f| +0#0000000&|F|o@1|(+0#e000e06&|)|:+0#0000000&| |l+0#00e0003&|i|s|t|<|d|i|c|t|<|n|u|m|b|e|r|>@1| +0#0000000&@45
|
||||
|e+0#af5f00255&|n|d@1|e|f| +0#0000000&@68
|
||||
@75
|
||||
|d+0#af5f00255&|e|f| +0#0000000&|F|o@1|(+0#e000e06&|)|:+0#0000000&| |f+0#00e0003&|u|n|c|(|d|i|c|t|<|l|i|s|t|<|n|u|m|b|e|r|>@1|,+0#0000000&| |f+0#00e0003&|u|n|c|,+0#0000000&| |b+0#00e0003&|o@1|l|,+0#0000000&| |f+0#00e0003&|u|n|c|(|n|u|m|b|e|r|,+0#0000000&| |l+0#00e0003&|i|s|t|<|n|u|m|b|e|r|>|)@1
|
||||
|:+0#0000000&| |b+0#00e0003&|o@1|l| +0#0000000&@68
|
||||
>e+0#af5f00255&|n|d@1|e|f| +0#0000000&@68
|
||||
@75
|
||||
@75
|
||||
|"+0#0000e05&| |:|e|n|d@1|e|f| |t|r|a|i|l|i|n|g| +0#0000000&@56
|
||||
@75
|
||||
|d+0#af5f00255&|e|f| +0#0000000&|F|o@1|(+0#e000e06&|)| +0#0000000&@65
|
||||
| +0#0000e05&@1|#| |t|r|a|i|l|i|n|g| |w|h|i|t|e|s|p|a|c|e| +0#0000000&@51
|
||||
|e+0#af5f00255&|n|d@1|e|f| +0#0000000&@68
|
||||
@75
|
||||
|d+0#af5f00255&|e|f| +0#0000000&|F|o@1|(+0#e000e06&|)| +0#0000000&@65
|
||||
|e+0#af5f00255&|n|d@1|e|f| +0#0000000&||| |e+0#af5f00255&|c|h|o| +0#0000000&|"+0#e000002&|F|o@1|"| +0#0000000&@55
|
||||
@75
|
||||
|d+0#af5f00255&|e|f| +0#0000000&|F|o@1|(+0#e000e06&|)| +0#0000000&@65
|
||||
|e+0#af5f00255&|n|d@1|e|f| +0#0000000&|"+0#0000e05&| |c|o|m@1|e|n|t| +0#0000000&@58
|
||||
@57|9|1|,|1| @9|8|0|%|
|
20
runtime/syntax/testdir/dumps/vim_ex_def_06.dump
Normal file
20
runtime/syntax/testdir/dumps/vim_ex_def_06.dump
Normal file
@@ -0,0 +1,20 @@
|
||||
|e+0#af5f00255#ffffff0|n|d@1|e|f| +0#0000000&|"+0#0000e05&| |c|o|m@1|e|n|t| +0#0000000&@58
|
||||
@75
|
||||
@75
|
||||
|"+0#0000e05&| |p|a|r|a|m|e|t|e|r|s| +0#0000000&@62
|
||||
@75
|
||||
>d+0#af5f00255&|e|f| +0#0000000&|F|o@1|(+0#e000e06&|x+0#00e0e07&|:+0#0000000&| |b+0#00e0003&|o@1|l|,+0#0000000&| |y+0#00e0e07&| +0#0000000&|=+0#af5f00255&| +0#0000000&|4+0#e000002&|2|,+0#0000000&| |z+0#00e0e07&|:+0#0000000&| |s+0#00e0003&|t|r|i|n|g| +0#0000000&|=+0#af5f00255&| +0#0000000&|"+0#e000002&|z|e|d|"|)+0#e000e06&| +0#0000000&@31
|
||||
|e+0#af5f00255&|n|d@1|e|f| +0#0000000&@68
|
||||
@75
|
||||
|d+0#af5f00255&|e|f| +0#0000000&|F|o@1|(+0#e000e06&| +0#0000000&@66
|
||||
@4|x+0#00e0e07&|:+0#0000000&| |b+0#00e0003&|o@1|l|,+0#0000000&| @62
|
||||
@4|y+0#00e0e07&| +0#0000000&|=+0#af5f00255&| +0#0000000&|4+0#e000002&|2|,+0#0000000&| @63
|
||||
@4|z+0#00e0e07&|:+0#0000000&| |s+0#00e0003&|t|r|i|n|g| +0#0000000&|=+0#af5f00255&| +0#0000000&|"+0#e000002&|z|e|d|"|)+0#e000e06&| +0#0000000&@52
|
||||
|e+0#af5f00255&|n|d@1|e|f| +0#0000000&@68
|
||||
@75
|
||||
@75
|
||||
|"+0#0000e05&| |c|o|m@1|e|n|t|s| +0#0000000&@64
|
||||
@75
|
||||
|d+0#af5f00255&|e|f| +0#0000000&|F|o@1|(+0#e000e06&|)| +0#0000000&@65
|
||||
| +0#0000e05&@1|#| |V|i|m|9|-|s|c|r|i|p|t| |c|o|m@1|e|n|t| +0#0000000&@51
|
||||
@57|1|0|9|,|1| @8|9|7|%|
|
20
runtime/syntax/testdir/dumps/vim_ex_def_99.dump
Normal file
20
runtime/syntax/testdir/dumps/vim_ex_def_99.dump
Normal file
@@ -0,0 +1,20 @@
|
||||
|"+0#0000e05#ffffff0| |p|a|r|a|m|e|t|e|r|s| +0#0000000&@62
|
||||
@75
|
||||
|d+0#af5f00255&|e|f| +0#0000000&|F|o@1|(+0#e000e06&|x+0#00e0e07&|:+0#0000000&| |b+0#00e0003&|o@1|l|,+0#0000000&| |y+0#00e0e07&| +0#0000000&|=+0#af5f00255&| +0#0000000&|4+0#e000002&|2|,+0#0000000&| |z+0#00e0e07&|:+0#0000000&| |s+0#00e0003&|t|r|i|n|g| +0#0000000&|=+0#af5f00255&| +0#0000000&|"+0#e000002&|z|e|d|"|)+0#e000e06&| +0#0000000&@31
|
||||
|e+0#af5f00255&|n|d@1|e|f| +0#0000000&@68
|
||||
@75
|
||||
|d+0#af5f00255&|e|f| +0#0000000&|F|o@1|(+0#e000e06&| +0#0000000&@66
|
||||
@4|x+0#00e0e07&|:+0#0000000&| |b+0#00e0003&|o@1|l|,+0#0000000&| @62
|
||||
@4|y+0#00e0e07&| +0#0000000&|=+0#af5f00255&| +0#0000000&|4+0#e000002&|2|,+0#0000000&| @63
|
||||
@4|z+0#00e0e07&|:+0#0000000&| |s+0#00e0003&|t|r|i|n|g| +0#0000000&|=+0#af5f00255&| +0#0000000&|"+0#e000002&|z|e|d|"|)+0#e000e06&| +0#0000000&@52
|
||||
|e+0#af5f00255&|n|d@1|e|f| +0#0000000&@68
|
||||
@75
|
||||
@75
|
||||
|"+0#0000e05&| |c|o|m@1|e|n|t|s| +0#0000000&@64
|
||||
@75
|
||||
|d+0#af5f00255&|e|f| +0#0000000&|F|o@1|(+0#e000e06&|)| +0#0000000&@65
|
||||
| +0#0000e05&@1|#| |V|i|m|9|-|s|c|r|i|p|t| |c|o|m@1|e|n|t| +0#0000000&@51
|
||||
@2|"+0#e000002&|u|s|e|l|e|s@1| |s|t|r|i|n|g|"| +0#0000000&@56
|
||||
|e+0#af5f00255&|n|d@1|e|f| +0#0000000&@68
|
||||
> @74
|
||||
@57|1|2|5|,|0|-|1| @6|B|o|t|
|
20
runtime/syntax/testdir/dumps/vim_ex_def_fold_00.dump
Normal file
20
runtime/syntax/testdir/dumps/vim_ex_def_fold_00.dump
Normal file
@@ -0,0 +1,20 @@
|
||||
>"+0#0000e05#ffffff0| |V|i|m| |:|d|e|f| |c|o|m@1|a|n|d| +0#0000000&@56
|
||||
|"+0#0000e05&| |V|I|M|_|T|E|S|T|_|S|E|T|U|P| |l|e|t| |g|:|v|i|m|s|y|n|_|f|o|l|d|i|n|g| |=| |"+0#e000002&|f|"| +0#0000e05&||| |s|e|t| |f|d|m|=|s|y|n|t|a|x| +0#0000000&@14
|
||||
@75
|
||||
@75
|
||||
|"+0#0000e05&| |l|i|s|t| +0#0000000&@68
|
||||
@75
|
||||
|d+0#af5f00255&|e|f| +0#0000000&@71
|
||||
|d+0#af5f00255&|e|f| +0#0000000&|F|o@1| @67
|
||||
|d+0#af5f00255&|e|f| +0#0000000&|/+0#af5f00255&|F+0#0000000&|o@1|.|*| @64
|
||||
@75
|
||||
|d+0#af5f00255&|e|f| +0#0000000&||| |e+0#af5f00255&|c|h|o| +0#0000000&|"+0#e000002&|F|o@1|"| +0#0000000&@58
|
||||
|d+0#af5f00255&|e|f| +0#0000000&|"+0#0000e05&| |c|o|m@1|e|n|t| +0#0000000&@61
|
||||
|d+0#af5f00255&|e|f| +0#0000000&|F|o@1| ||| |e+0#af5f00255&|c|h|o| +0#0000000&|"+0#e000002&|F|o@1|"| +0#0000000&@54
|
||||
|d+0#af5f00255&|e|f| +0#0000000&|F|o@1| |"+0#0000e05&| |c|o|m@1|e|n|t| +0#0000000&@57
|
||||
@75
|
||||
@75
|
||||
|"+0#0000e05&| |d|e|f|i|n|i|t|i|o|n| +0#0000000&@62
|
||||
@75
|
||||
|"+0#0000e05&| |e|m|p|t|y| |d|e|f|i|n|i|t|i|o|n| +0#0000000&@56
|
||||
@57|1|,|1| @10|T|o|p|
|
20
runtime/syntax/testdir/dumps/vim_ex_def_fold_01.dump
Normal file
20
runtime/syntax/testdir/dumps/vim_ex_def_fold_01.dump
Normal file
@@ -0,0 +1,20 @@
|
||||
|d+0#af5f00255#ffffff0|e|f| +0#0000000&|F|o@1| |"+0#0000e05&| |c|o|m@1|e|n|t| +0#0000000&@57
|
||||
@75
|
||||
@75
|
||||
|"+0#0000e05&| |d|e|f|i|n|i|t|i|o|n| +0#0000000&@62
|
||||
@75
|
||||
>"+0#0000e05&| |e|m|p|t|y| |d|e|f|i|n|i|t|i|o|n| +0#0000000&@56
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|2| |l|i|n|e|s|:| |d|e|f| |F|o@1|(|)|-@51
|
||||
| +0#0000000#ffffff0@74
|
||||
|#+0#0000e05&| |c|u|r|l|y|-|b|r|a|c|e| |n|a|m|e|s| +0#0000000&@55
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|2| |l|i|n|e|s|:| |d|e|f| |{|"|F|"|}|o@1|(|)|-@47
|
||||
| +0#0000000#ffffff0@74
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|2| |l|i|n|e|s|:| |d|e|f| |F|{|"|o|"|}|o|(|)|-@47
|
||||
| +0#0000000#ffffff0@74
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|2| |l|i|n|e|s|:| |d|e|f| |F|o|{|"|o|"|}|(|)|-@47
|
||||
| +0#0000000#ffffff0@74
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|2| |l|i|n|e|s|:| |d|e|f| |{|"|F|"|}|o|{|"|o|"|}|(|)|-@43
|
||||
| +0#0000000#ffffff0@74
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|2| |l|i|n|e|s|:| |d|e|f| |{|"|F|"|}|{|"|o|"|}|{|"|o|"|}|(|)|-@39
|
||||
| +0#0000000#ffffff0@74
|
||||
@57|1|9|,|1| @9|1|2|%|
|
20
runtime/syntax/testdir/dumps/vim_ex_def_fold_02.dump
Normal file
20
runtime/syntax/testdir/dumps/vim_ex_def_fold_02.dump
Normal file
@@ -0,0 +1,20 @@
|
||||
| +0&#ffffff0@74
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|2| |l|i|n|e|s|:| |d|e|f| |F|o|{|"|o|"|}|(|)|-@47
|
||||
| +0#0000000#ffffff0@74
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|2| |l|i|n|e|s|:| |d|e|f| |{|"|F|"|}|o|{|"|o|"|}|(|)|-@43
|
||||
| +0#0000000#ffffff0@74
|
||||
>++0#0000e05#a8a8a8255|-@1| @1|2| |l|i|n|e|s|:| |d|e|f| |{|"|F|"|}|{|"|o|"|}|{|"|o|"|}|(|)|-@39
|
||||
| +0#0000000#ffffff0@74
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|3| |l|i|n|e|s|:| |d|e|f| |F|o@1|(|)|:| |n|u|m|b|e|r|-@43
|
||||
| +0#0000000#ffffff0@74
|
||||
|#+0#0000e05&| |t|r|a|i|l|i|n|g| |w|h|i|t|e|s|p|a|c|e| +0#0000000&@53
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|3| |l|i|n|e|s|:| |d|e|f| |F|o@1|(|)|:| |n|u|m|b|e|r| @1|-@41
|
||||
| +0#0000000#ffffff0@74
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|2| |l|i|n|e|s|:| |d|e|f| |F|o@1|(|)| |#| |c|o|m@1|e|n|t|-@41
|
||||
| +0#0000000#ffffff0@74
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|3| |l|i|n|e|s|:| |d|e|f| |F|o@1|(|)|:| |n|u|m|b|e|r| |#| |c|o|m@1|e|n|t|-@33
|
||||
| +0#0000000#ffffff0@74
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|3| |l|i|n|e|s|:| |d|e|f|!| |F|o@1|(|)|:| |n|u|m|b|e|r|-@42
|
||||
| +0#0000000#ffffff0@74
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|3| |l|i|n|e|s|:| |d|e|f| |g|:|F|o@1|(|)|:| |n|u|m|b|e|r|-@41
|
||||
| +0#0000000#ffffff0@56|3|7|,|1| @9|3|0|%|
|
20
runtime/syntax/testdir/dumps/vim_ex_def_fold_03.dump
Normal file
20
runtime/syntax/testdir/dumps/vim_ex_def_fold_03.dump
Normal file
@@ -0,0 +1,20 @@
|
||||
| +0&#ffffff0@74
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|2| |l|i|n|e|s|:| |d|e|f| |F|o@1|(|)| |#| |c|o|m@1|e|n|t|-@41
|
||||
| +0#0000000#ffffff0@74
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|3| |l|i|n|e|s|:| |d|e|f| |F|o@1|(|)|:| |n|u|m|b|e|r| |#| |c|o|m@1|e|n|t|-@33
|
||||
| +0#0000000#ffffff0@74
|
||||
>++0#0000e05#a8a8a8255|-@1| @1|3| |l|i|n|e|s|:| |d|e|f|!| |F|o@1|(|)|:| |n|u|m|b|e|r|-@42
|
||||
| +0#0000000#ffffff0@74
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|3| |l|i|n|e|s|:| |d|e|f| |g|:|F|o@1|(|)|:| |n|u|m|b|e|r|-@41
|
||||
| +0#0000000#ffffff0@74
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|3| |l|i|n|e|s|:| |d|e|f| |s|:|F|o@1|(|)|:| |n|u|m|b|e|r|-@41
|
||||
| +0#0000000#ffffff0@74
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|3| |l|i|n|e|s|:| |d|e|f| |<|S|I|D|>|F|o@1|(|)|:| |n|u|m|b|e|r|-@38
|
||||
| +0#0000000#ffffff0@74
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|3| |l|i|n|e|s|:| |d|e|f| |f|o@1|#|b|a|r|#|F|o@1|(|)|:| |n|u|m|b|e|r|-@35
|
||||
| +0#0000000#ffffff0@74
|
||||
|"+0#0000e05&| |s|a|m|e| |n|a|m|e| |a|s| |a|n| |E|x| |c|o|m@1|a|n|d| +0#0000000&@46
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|2| |l|i|n|e|s|:| |d|e|f| |s|:|l|s|(|)|-@50
|
||||
| +0#0000000#ffffff0@74
|
||||
@75
|
||||
@57|5@1|,|1| @9|4|9|%|
|
20
runtime/syntax/testdir/dumps/vim_ex_def_fold_04.dump
Normal file
20
runtime/syntax/testdir/dumps/vim_ex_def_fold_04.dump
Normal file
@@ -0,0 +1,20 @@
|
||||
| +0&#ffffff0@74
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|3| |l|i|n|e|s|:| |d|e|f| |s|:|F|o@1|(|)|:| |n|u|m|b|e|r|-@41
|
||||
| +0#0000000#ffffff0@74
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|3| |l|i|n|e|s|:| |d|e|f| |<|S|I|D|>|F|o@1|(|)|:| |n|u|m|b|e|r|-@38
|
||||
| +0#0000000#ffffff0@74
|
||||
>++0#0000e05#a8a8a8255|-@1| @1|3| |l|i|n|e|s|:| |d|e|f| |f|o@1|#|b|a|r|#|F|o@1|(|)|:| |n|u|m|b|e|r|-@35
|
||||
| +0#0000000#ffffff0@74
|
||||
|"+0#0000e05&| |s|a|m|e| |n|a|m|e| |a|s| |a|n| |E|x| |c|o|m@1|a|n|d| +0#0000000&@46
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|2| |l|i|n|e|s|:| |d|e|f| |s|:|l|s|(|)|-@50
|
||||
| +0#0000000#ffffff0@74
|
||||
@75
|
||||
|"+0#0000e05&| |r|e|t|u|r|n| |t|y|p|e|s| +0#0000000&@60
|
||||
@75
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|2| |l|i|n|e|s|:| |d|e|f| |F|o@1|(|)|:| |v|o|i|d|-@45
|
||||
| +0#0000000#ffffff0@74
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|2| |l|i|n|e|s|:| |d|e|f| |F|o@1|(|)|:| |v|o|i|d| |#| |c|o|m@1|e|n|t|-@35
|
||||
| +0#0000000#ffffff0@74
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|2| |l|i|n|e|s|:| |d|e|f| |F|o@1|(|)|:| |l|i|s|t|<|d|i|c|t|<|n|u|m|b|e|r|>@1|-@31
|
||||
| +0#0000000#ffffff0@74
|
||||
@57|7|3|,|1| @9|6|2|%|
|
20
runtime/syntax/testdir/dumps/vim_ex_def_fold_05.dump
Normal file
20
runtime/syntax/testdir/dumps/vim_ex_def_fold_05.dump
Normal file
@@ -0,0 +1,20 @@
|
||||
| +0&#ffffff0@74
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|2| |l|i|n|e|s|:| |d|e|f| |F|o@1|(|)|:| |v|o|i|d| |#| |c|o|m@1|e|n|t|-@35
|
||||
| +0#0000000#ffffff0@74
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|2| |l|i|n|e|s|:| |d|e|f| |F|o@1|(|)|:| |l|i|s|t|<|d|i|c|t|<|n|u|m|b|e|r|>@1|-@31
|
||||
| +0#0000000#ffffff0@74
|
||||
>++0#0000e05#a8a8a8255|-@1| @1|2| |l|i|n|e|s|:| |d|e|f| |F|o@1|(|)|:| |f|u|n|c|(|d|i|c|t|<|l|i|s|t|<|n|u|m|b|e|r|>@1|,| |f|u|n|c|,| |b|o@1|l|,| |f|u|n|c|(|n|u|m|b|e|r|,|
|
||||
| +0#0000000#ffffff0@74
|
||||
@75
|
||||
|"+0#0000e05&| |:|e|n|d@1|e|f| |t|r|a|i|l|i|n|g| +0#0000000&@56
|
||||
@75
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|3| |l|i|n|e|s|:| |d|e|f| |F|o@1|(|)|-@51
|
||||
| +0#0000000#ffffff0@74
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|2| |l|i|n|e|s|:| |d|e|f| |F|o@1|(|)|-@51
|
||||
| +0#0000000#ffffff0@74
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|2| |l|i|n|e|s|:| |d|e|f| |F|o@1|(|)|-@51
|
||||
| +0#0000000#ffffff0@74
|
||||
@75
|
||||
|"+0#0000e05&| |p|a|r|a|m|e|t|e|r|s| +0#0000000&@62
|
||||
@75
|
||||
@57|9|1|,|1| @9|8|3|%|
|
20
runtime/syntax/testdir/dumps/vim_ex_def_fold_06.dump
Normal file
20
runtime/syntax/testdir/dumps/vim_ex_def_fold_06.dump
Normal file
@@ -0,0 +1,20 @@
|
||||
| +0&#ffffff0@74
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|2| |l|i|n|e|s|:| |d|e|f| |F|o@1|(|)|-@51
|
||||
| +0#0000000#ffffff0@74
|
||||
@75
|
||||
|"+0#0000e05&| |p|a|r|a|m|e|t|e|r|s| +0#0000000&@62
|
||||
> @74
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|2| |l|i|n|e|s|:| |d|e|f| |F|o@1|(|x|:| |b|o@1|l|,| |y| |=| |4|2|,| |z|:| |s|t|r|i|n|g| |=| |"|z|e|d|"|)|-@17
|
||||
| +0#0000000#ffffff0@74
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|5| |l|i|n|e|s|:| |d|e|f| |F|o@1|(|-@52
|
||||
| +0#0000000#ffffff0@74
|
||||
@75
|
||||
|"+0#0000e05&| |c|o|m@1|e|n|t|s| +0#0000000&@64
|
||||
@75
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|4| |l|i|n|e|s|:| |d|e|f| |F|o@1|(|)|-@51
|
||||
| +0#0000000#ffffff0@74
|
||||
|~+0#4040ff13&| @73
|
||||
|~| @73
|
||||
|~| @73
|
||||
|~| @73
|
||||
| +0#0000000&@56|1|0|9|,|0|-|1| @6|B|o|t|
|
20
runtime/syntax/testdir/dumps/vim_ex_def_fold_99.dump
Normal file
20
runtime/syntax/testdir/dumps/vim_ex_def_fold_99.dump
Normal file
@@ -0,0 +1,20 @@
|
||||
| +0&#ffffff0@74
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|3| |l|i|n|e|s|:| |d|e|f| |F|o@1|(|)|-@51
|
||||
| +0#0000000#ffffff0@74
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|2| |l|i|n|e|s|:| |d|e|f| |F|o@1|(|)|-@51
|
||||
| +0#0000000#ffffff0@74
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|2| |l|i|n|e|s|:| |d|e|f| |F|o@1|(|)|-@51
|
||||
| +0#0000000#ffffff0@74
|
||||
@75
|
||||
|"+0#0000e05&| |p|a|r|a|m|e|t|e|r|s| +0#0000000&@62
|
||||
@75
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|2| |l|i|n|e|s|:| |d|e|f| |F|o@1|(|x|:| |b|o@1|l|,| |y| |=| |4|2|,| |z|:| |s|t|r|i|n|g| |=| |"|z|e|d|"|)|-@17
|
||||
| +0#0000000#ffffff0@74
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|5| |l|i|n|e|s|:| |d|e|f| |F|o@1|(|-@52
|
||||
| +0#0000000#ffffff0@74
|
||||
@75
|
||||
|"+0#0000e05&| |c|o|m@1|e|n|t|s| +0#0000000&@64
|
||||
@75
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|4| |l|i|n|e|s|:| |d|e|f| |F|o@1|(|)|-@51
|
||||
> +0#0000000#ffffff0@74
|
||||
@57|1|2|6|,|0|-|1| @6|B|o|t|
|
20
runtime/syntax/testdir/dumps/vim_ex_function_00.dump
Normal file
20
runtime/syntax/testdir/dumps/vim_ex_function_00.dump
Normal file
@@ -0,0 +1,20 @@
|
||||
>"+0#0000e05#ffffff0| |V|i|m| |:|f|u|n|c|t|i|o|n| |c|o|m@1|a|n|d| +0#0000000&@51
|
||||
@75
|
||||
@75
|
||||
|"+0#0000e05&| |l|i|s|t| +0#0000000&@68
|
||||
@75
|
||||
|f+0#af5f00255&|u|n|c|t|i|o|n| +0#0000000&@66
|
||||
|f+0#af5f00255&|u|n|c|t|i|o|n| +0#0000000&|F|o@1| @62
|
||||
|f+0#af5f00255&|u|n|c|t|i|o|n| +0#0000000&|/+0#af5f00255&|F+0#0000000&|o@1|.|*| @59
|
||||
@75
|
||||
|f+0#af5f00255&|u|n|c|t|i|o|n| +0#0000000&||| |e+0#af5f00255&|c|h|o| +0#0000000&|"+0#e000002&|F|o@1|"| +0#0000000&@53
|
||||
|f+0#af5f00255&|u|n|c|t|i|o|n| +0#0000000&|"+0#0000e05&| |c|o|m@1|e|n|t| +0#0000000&@56
|
||||
|f+0#af5f00255&|u|n|c|t|i|o|n| +0#0000000&|F|o@1| ||| |e+0#af5f00255&|c|h|o| +0#0000000&|"+0#e000002&|F|o@1|"| +0#0000000&@49
|
||||
|f+0#af5f00255&|u|n|c|t|i|o|n| +0#0000000&|F|o@1| |"+0#0000e05&| |c|o|m@1|e|n|t| +0#0000000&@52
|
||||
@75
|
||||
@75
|
||||
|"+0#0000e05&| |d|e|f|i|n|i|t|i|o|n| +0#0000000&@62
|
||||
@75
|
||||
|"+0#0000e05&| |e|m|p|t|y| |d|e|f|i|n|i|t|i|o|n| +0#0000000&@56
|
||||
|f+0#af5f00255&|u|n|c|t|i|o|n| +0#0000000&|F|o@1|(+0#e000e06&|)| +0#0000000&@60
|
||||
@57|1|,|1| @10|T|o|p|
|
20
runtime/syntax/testdir/dumps/vim_ex_function_01.dump
Normal file
20
runtime/syntax/testdir/dumps/vim_ex_function_01.dump
Normal file
@@ -0,0 +1,20 @@
|
||||
| +0&#ffffff0@74
|
||||
@75
|
||||
|"+0#0000e05&| |d|e|f|i|n|i|t|i|o|n| +0#0000000&@62
|
||||
@75
|
||||
|"+0#0000e05&| |e|m|p|t|y| |d|e|f|i|n|i|t|i|o|n| +0#0000000&@56
|
||||
>f+0#af5f00255&|u|n|c|t|i|o|n| +0#0000000&|F|o@1|(+0#e000e06&|)| +0#0000000&@60
|
||||
|e+0#af5f00255&|n|d|f|u|n|c|t|i|o|n| +0#0000000&@63
|
||||
@75
|
||||
|"+0#0000e05&| |c|u|r|l|y|-|b|r|a|c|e| |n|a|m|e|s| +0#0000000&@55
|
||||
|f+0#af5f00255&|u|n|c|t|i|o|n| +0#0000000&|{|"|F|"|}|o@1|(+0#e000e06&|)| +0#0000000&@56
|
||||
|e+0#af5f00255&|n|d|f|u|n|c|t|i|o|n| +0#0000000&@63
|
||||
@75
|
||||
|f+0#af5f00255&|u|n|c|t|i|o|n| +0#0000000&|F|{|"|o|"|}|o|(+0#e000e06&|)| +0#0000000&@56
|
||||
|e+0#af5f00255&|n|d|f|u|n|c|t|i|o|n| +0#0000000&@63
|
||||
@75
|
||||
|f+0#af5f00255&|u|n|c|t|i|o|n| +0#0000000&|F|o|{|"|o|"|}|(+0#e000e06&|)| +0#0000000&@56
|
||||
|e+0#af5f00255&|n|d|f|u|n|c|t|i|o|n| +0#0000000&@63
|
||||
@75
|
||||
|f+0#af5f00255&|u|n|c|t|i|o|n| +0#0000000&|{|"|F|"|}|o|{|"|o|"|}|(+0#e000e06&|)| +0#0000000&@52
|
||||
@57|1|9|,|1| @10|7|%|
|
20
runtime/syntax/testdir/dumps/vim_ex_function_02.dump
Normal file
20
runtime/syntax/testdir/dumps/vim_ex_function_02.dump
Normal file
@@ -0,0 +1,20 @@
|
||||
|f+0#af5f00255#ffffff0|u|n|c|t|i|o|n| +0#0000000&|{|"|F|"|}|o|{|"|o|"|}|(+0#e000e06&|)| +0#0000000&@52
|
||||
|e+0#af5f00255&|n|d|f|u|n|c|t|i|o|n| +0#0000000&@63
|
||||
@75
|
||||
|f+0#af5f00255&|u|n|c|t|i|o|n| +0#0000000&|{|"|F|"|}|{|"|o|"|}|{|"|o|"|}|(+0#e000e06&|)| +0#0000000&@48
|
||||
|e+0#af5f00255&|n|d|f|u|n|c|t|i|o|n| +0#0000000&@63
|
||||
> @74
|
||||
|f+0#af5f00255&|u|n|c|t|i|o|n| +0#0000000&|F|o@1|(+0#e000e06&|)| +0#0000000&@60
|
||||
@2|r+0#af5f00255&|e|t|u|r|n| +0#0000000&|4+0#e000002&|2| +0#0000000&@63
|
||||
|e+0#af5f00255&|n|d|f|u|n|c|t|i|o|n| +0#0000000&@63
|
||||
@75
|
||||
|"+0#0000e05&| |t|r|a|i|l|i|n|g| |w|h|i|t|e|s|p|a|c|e| +0#0000000&@53
|
||||
|f+0#af5f00255&|u|n|c|t|i|o|n| +0#0000000&|F|o@1|(+0#e000e06&|)| +0#0000000&@60
|
||||
@2|r+0#af5f00255&|e|t|u|r|n| +0#0000000&|4+0#e000002&|2| +0#0000000&@63
|
||||
|e+0#af5f00255&|n|d|f|u|n|c|t|i|o|n| +0#0000000&@63
|
||||
@75
|
||||
|f+0#af5f00255&|u|n|c|t|i|o|n| +0#0000000&|F|o@1|(+0#e000e06&|)| +0#0000000&|"+0#0000e05&| |c|o|m@1|e|n|t| +0#0000000&@50
|
||||
@2|r+0#af5f00255&|e|t|u|r|n| +0#0000000&|4+0#e000002&|2| +0#0000000&@63
|
||||
|e+0#af5f00255&|n|d|f|u|n|c|t|i|o|n| +0#0000000&@63
|
||||
@75
|
||||
@57|3|7|,|0|-|1| @7|1|9|%|
|
20
runtime/syntax/testdir/dumps/vim_ex_function_03.dump
Normal file
20
runtime/syntax/testdir/dumps/vim_ex_function_03.dump
Normal file
@@ -0,0 +1,20 @@
|
||||
| +0&#ffffff0@74
|
||||
|f+0#af5f00255&|u|n|c|t|i|o|n|!| +0#0000000&|F|o@1|(+0#e000e06&|)| +0#0000000&@59
|
||||
@2|r+0#af5f00255&|e|t|u|r|n| +0#0000000&|4+0#e000002&|2| +0#0000000&@63
|
||||
|e+0#af5f00255&|n|d|f|u|n|c|t|i|o|n| +0#0000000&@63
|
||||
@75
|
||||
>f+0#af5f00255&|u|n|c|t|i|o|n| +0#0000000&|g+0#e000e06&|:|F+0#0000000&|o@1|(+0#e000e06&|)| +0#0000000&@58
|
||||
@2|r+0#af5f00255&|e|t|u|r|n| +0#0000000&|4+0#e000002&|2| +0#0000000&@63
|
||||
|e+0#af5f00255&|n|d|f|u|n|c|t|i|o|n| +0#0000000&@63
|
||||
@75
|
||||
|f+0#af5f00255&|u|n|c|t|i|o|n| +0#0000000&|s+0#e000e06&|:|F+0#0000000&|o@1|(+0#e000e06&|)| +0#0000000&@58
|
||||
@2|r+0#af5f00255&|e|t|u|r|n| +0#0000000&|4+0#e000002&|2| +0#0000000&@63
|
||||
|e+0#af5f00255&|n|d|f|u|n|c|t|i|o|n| +0#0000000&@63
|
||||
@75
|
||||
|f+0#af5f00255&|u|n|c|t|i|o|n| +0#0000000&|<+0#e000e06&|S|I|D|>|F+0#0000000&|o@1|(+0#e000e06&|)| +0#0000000&@55
|
||||
@2|r+0#af5f00255&|e|t|u|r|n| +0#0000000&|4+0#e000002&|2| +0#0000000&@63
|
||||
|e+0#af5f00255&|n|d|f|u|n|c|t|i|o|n| +0#0000000&@63
|
||||
@75
|
||||
|f+0#af5f00255&|u|n|c|t|i|o|n| +0#0000000&|f|o@1|#|b|a|r|#|F|o@1|(+0#e000e06&|)| +0#0000000&@52
|
||||
@2|r+0#af5f00255&|e|t|u|r|n| +0#0000000&|4+0#e000002&|2| +0#0000000&@63
|
||||
@57|5@1|,|1| @9|3|0|%|
|
20
runtime/syntax/testdir/dumps/vim_ex_function_04.dump
Normal file
20
runtime/syntax/testdir/dumps/vim_ex_function_04.dump
Normal file
@@ -0,0 +1,20 @@
|
||||
| +0&#ffffff0@1|r+0#af5f00255&|e|t|u|r|n| +0#0000000&|4+0#e000002&|2| +0#0000000&@63
|
||||
|e+0#af5f00255&|n|d|f|u|n|c|t|i|o|n| +0#0000000&@63
|
||||
@75
|
||||
|"+0#0000e05&| |s|a|m|e| |n|a|m|e| |a|s| |a|n| |E|x| |c|o|m@1|a|n|d| +0#0000000&@46
|
||||
|f+0#af5f00255&|u|n|c|t|i|o|n| +0#0000000&|s+0#e000e06&|:|l+0#0000000&|s|(+0#e000e06&|)| +0#0000000&@59
|
||||
>e+0#af5f00255&|n|d|f|u|n|c|t|i|o|n| +0#0000000&@63
|
||||
@75
|
||||
@75
|
||||
|"+0#0000e05&| |m|o|d|i|f|i|e|r|s| +0#0000000&@63
|
||||
@75
|
||||
|f+0#af5f00255&|u|n|c|t|i|o|n| +0#0000000&|F|o@1|(+0#e000e06&|)| +0#0000000&|r+0#e000e06&|a|n|g|e| +0#0000000&@54
|
||||
|e+0#af5f00255&|n|d|f|u|n|c|t|i|o|n| +0#0000000&@63
|
||||
@75
|
||||
|f+0#af5f00255&|u|n|c|t|i|o|n| +0#0000000&|F|o@1|(+0#e000e06&|)| +0#0000000&|r+0#e000e06&|a|n|g|e| +0#0000000&|"+0#0000e05&| |c|o|m@1|e|n|t| +0#0000000&@44
|
||||
|e+0#af5f00255&|n|d|f|u|n|c|t|i|o|n| +0#0000000&@63
|
||||
@75
|
||||
|f+0#af5f00255&|u|n|c|t|i|o|n| +0#0000000&|F|o@1|(+0#e000e06&|)| +0#0000000&|r+0#e000e06&|a|n|g|e| +0#0000000&@54
|
||||
@2|r+0#af5f00255&|e|t|u|r|n| +0#0000000&|4+0#e000002&|2| +0#0000000&@63
|
||||
|e+0#af5f00255&|n|d|f|u|n|c|t|i|o|n| +0#0000000&@63
|
||||
@57|7|3|,|1| @9|4|1|%|
|
20
runtime/syntax/testdir/dumps/vim_ex_function_05.dump
Normal file
20
runtime/syntax/testdir/dumps/vim_ex_function_05.dump
Normal file
@@ -0,0 +1,20 @@
|
||||
|e+0#af5f00255#ffffff0|n|d|f|u|n|c|t|i|o|n| +0#0000000&@63
|
||||
@75
|
||||
|f+0#af5f00255&|u|n|c|t|i|o|n| +0#0000000&|F|o@1|(+0#e000e06&|)| +0#0000000&|a+0#e000e06&|b|o|r|t| +0#0000000&@54
|
||||
@2|r+0#af5f00255&|e|t|u|r|n| +0#0000000&|4+0#e000002&|2| +0#0000000&@63
|
||||
|e+0#af5f00255&|n|d|f|u|n|c|t|i|o|n| +0#0000000&@63
|
||||
> @74
|
||||
|f+0#af5f00255&|u|n|c|t|i|o|n| +0#0000000&|F|o@1|(+0#e000e06&|)| +0#0000000&|d+0#e000e06&|i|c|t| +0#0000000&@55
|
||||
@2|r+0#af5f00255&|e|t|u|r|n| +0#0000000&|4+0#e000002&|2| +0#0000000&@63
|
||||
|e+0#af5f00255&|n|d|f|u|n|c|t|i|o|n| +0#0000000&@63
|
||||
@75
|
||||
|f+0#af5f00255&|u|n|c|t|i|o|n| +0#0000000&|F|o@1|(+0#e000e06&|)| +0#0000000&|c+0#e000e06&|l|o|s|u|r|e| +0#0000000&@52
|
||||
@2|r+0#af5f00255&|e|t|u|r|n| +0#0000000&|4+0#e000002&|2| +0#0000000&@63
|
||||
|e+0#af5f00255&|n|d|f|u|n|c|t|i|o|n| +0#0000000&@63
|
||||
@75
|
||||
|f+0#af5f00255&|u|n|c|t|i|o|n| +0#0000000&|F|o@1|(+0#e000e06&|)| +0#0000000&|r+0#e000e06&|a|n|g|e| +0#0000000&|a+0#e000e06&|b|o|r|t| +0#0000000&|d+0#e000e06&|i|c|t| +0#0000000&|c+0#e000e06&|l|o|s|u|r|e| +0#0000000&@35
|
||||
@2|r+0#af5f00255&|e|t|u|r|n| +0#0000000&|4+0#e000002&|2| +0#0000000&@63
|
||||
|e+0#af5f00255&|n|d|f|u|n|c|t|i|o|n| +0#0000000&@63
|
||||
@75
|
||||
|f+0#af5f00255&|u|n|c|t|i|o|n|!| +0#0000000&|F|o@1|(+0#e000e06&|)| +0#0000000&|r+0#e000e06&|a|n|g|e| +0#0000000&@53
|
||||
@57|9|1|,|0|-|1| @7|5|2|%|
|
20
runtime/syntax/testdir/dumps/vim_ex_function_06.dump
Normal file
20
runtime/syntax/testdir/dumps/vim_ex_function_06.dump
Normal file
@@ -0,0 +1,20 @@
|
||||
|f+0#af5f00255#ffffff0|u|n|c|t|i|o|n|!| +0#0000000&|F|o@1|(+0#e000e06&|)| +0#0000000&|r+0#e000e06&|a|n|g|e| +0#0000000&@53
|
||||
@2|r+0#af5f00255&|e|t|u|r|n| +0#0000000&|4+0#e000002&|2| +0#0000000&@63
|
||||
|e+0#af5f00255&|n|d|f|u|n|c|t|i|o|n| +0#0000000&@63
|
||||
@75
|
||||
|f+0#af5f00255&|u|n|c|t|i|o|n|!| +0#0000000&|F|o@1|(+0#e000e06&|)| +0#0000000&|a+0#e000e06&|b|o|r|t| +0#0000000&@53
|
||||
@2>r+0#af5f00255&|e|t|u|r|n| +0#0000000&|4+0#e000002&|2| +0#0000000&@63
|
||||
|e+0#af5f00255&|n|d|f|u|n|c|t|i|o|n| +0#0000000&@63
|
||||
@75
|
||||
|f+0#af5f00255&|u|n|c|t|i|o|n|!| +0#0000000&|F|o@1|(+0#e000e06&|)| +0#0000000&|d+0#e000e06&|i|c|t| +0#0000000&@54
|
||||
@2|r+0#af5f00255&|e|t|u|r|n| +0#0000000&|4+0#e000002&|2| +0#0000000&@63
|
||||
|e+0#af5f00255&|n|d|f|u|n|c|t|i|o|n| +0#0000000&@63
|
||||
@75
|
||||
|f+0#af5f00255&|u|n|c|t|i|o|n|!| +0#0000000&|F|o@1|(+0#e000e06&|)| +0#0000000&|c+0#e000e06&|l|o|s|u|r|e| +0#0000000&@51
|
||||
@2|r+0#af5f00255&|e|t|u|r|n| +0#0000000&|4+0#e000002&|2| +0#0000000&@63
|
||||
|e+0#af5f00255&|n|d|f|u|n|c|t|i|o|n| +0#0000000&@63
|
||||
@75
|
||||
|f+0#af5f00255&|u|n|c|t|i|o|n|!| +0#0000000&|F|o@1|(+0#e000e06&|)| +0#0000000&|r+0#e000e06&|a|n|g|e| +0#0000000&|a+0#e000e06&|b|o|r|t| +0#0000000&|d+0#e000e06&|i|c|t| +0#0000000&|c+0#e000e06&|l|o|s|u|r|e| +0#0000000&@34
|
||||
@2|r+0#af5f00255&|e|t|u|r|n| +0#0000000&|4+0#e000002&|2| +0#0000000&@63
|
||||
|e+0#af5f00255&|n|d|f|u|n|c|t|i|o|n| +0#0000000&@63
|
||||
@57|1|0|9|,|3| @8|6|3|%|
|
20
runtime/syntax/testdir/dumps/vim_ex_function_07.dump
Normal file
20
runtime/syntax/testdir/dumps/vim_ex_function_07.dump
Normal file
@@ -0,0 +1,20 @@
|
||||
|e+0#af5f00255#ffffff0|n|d|f|u|n|c|t|i|o|n| +0#0000000&@63
|
||||
@75
|
||||
@75
|
||||
|"+0#0000e05&| |:|e|n|d|f|u|n|c|t|i|o|n| |t|r|a|i|l|i|n|g| +0#0000000&@51
|
||||
@75
|
||||
>f+0#af5f00255&|u|n|c|t|i|o|n| +0#0000000&|F|o@1|(+0#e000e06&|)| +0#0000000&@60
|
||||
@2|r+0#af5f00255&|e|t|u|r|n| +0#0000000&|4+0#e000002&|2| +0#0000000&@63
|
||||
| +0#0000e05&@1|"| |t|r|a|i|l|i|n|g| |w|h|i|t|e|s|p|a|c|e| +0#0000000&@51
|
||||
|e+0#af5f00255&|n|d|f|u|n|c|t|i|o|n| +0#0000000&@63
|
||||
@75
|
||||
|f+0#af5f00255&|u|n|c|t|i|o|n| +0#0000000&|F|o@1|(+0#e000e06&|)| +0#0000000&@60
|
||||
@2|r+0#af5f00255&|e|t|u|r|n| +0#0000000&|4+0#e000002&|2| +0#0000000&@63
|
||||
|e+0#af5f00255&|n|d|f|u|n|c|t|i|o|n| +0#0000000&||| |e+0#af5f00255&|c|h|o| +0#0000000&|"+0#e000002&|F|o@1|"| +0#0000000&@50
|
||||
@75
|
||||
|f+0#af5f00255&|u|n|c|t|i|o|n| +0#0000000&|F|o@1|(+0#e000e06&|)| +0#0000000&@60
|
||||
@2|r+0#af5f00255&|e|t|u|r|n| +0#0000000&|4+0#e000002&|2| +0#0000000&@63
|
||||
|e+0#af5f00255&|n|d|f|u|n|c|t|i|o|n| +0#0000000&|"+0#0000e05&| |c|o|m@1|e|n|t| +0#0000000&@53
|
||||
@75
|
||||
@75
|
||||
@57|1|2|7|,|1| @8|7|4|%|
|
20
runtime/syntax/testdir/dumps/vim_ex_function_08.dump
Normal file
20
runtime/syntax/testdir/dumps/vim_ex_function_08.dump
Normal file
@@ -0,0 +1,20 @@
|
||||
| +0&#ffffff0@74
|
||||
|"+0#0000e05&| |p|a|r|a|m|e|t|e|r|s| +0#0000000&@62
|
||||
@75
|
||||
|f+0#af5f00255&|u|n|c|t|i|o|n| +0#0000000&|F|o@1|(+0#e000e06&|x+0#00e0e07&|,+0#0000000&| |y+0#00e0e07&|,+0#0000000&| |z+0#00e0e07&|,+0#0000000&| |.+0#00e0e07&@2|)+0#e000e06&| +0#0000000&@48
|
||||
@2|r+0#af5f00255&|e|t|u|r|n| +0#0000000&|4+0#e000002&|2| +0#0000000&@63
|
||||
>e+0#af5f00255&|n|d|f|u|n|c|t|i|o|n| +0#0000000&@63
|
||||
@75
|
||||
|f+0#af5f00255&|u|n|c|t|i|o|n| +0#0000000&|F|o@1|(+0#e000e06&| +0#0000000&@61
|
||||
@6|\+0#e000e06&| +0#0000000&|x+0#00e0e07&|,+0#0000000&| @64
|
||||
@6|\+0#e000e06&| +0#0000000&|y+0#00e0e07&|,+0#0000000&| @64
|
||||
@6|\+0#e000e06&| +0#0000000&|z+0#00e0e07&|,+0#0000000&| @64
|
||||
@6|\+0#e000e06&| +0#0000000&|.+0#00e0e07&@2|)+0#e000e06&| +0#0000000&@62
|
||||
@2|r+0#af5f00255&|e|t|u|r|n| +0#0000000&|4+0#e000002&|2| +0#0000000&@63
|
||||
|e+0#af5f00255&|n|d|f|u|n|c|t|i|o|n| +0#0000000&@63
|
||||
@75
|
||||
|f+0#af5f00255&|u|n|c|t|i|o|n| +0#0000000&|F|o@1|(+0#e000e06&|x+0#00e0e07&|,+0#0000000&| |y+0#00e0e07&| +0#0000000&|=+0#af5f00255&| +0#0000000&|4+0#e000002&|2|,+0#0000000&| |z+0#00e0e07&| +0#0000000&|=+0#af5f00255&| +0#0000000&|"+0#e000002&|z|e|d|"|)+0#e000e06&| +0#0000000&@40
|
||||
@2|r+0#af5f00255&|e|t|u|r|n| +0#0000000&|4+0#e000002&|2| +0#0000000&@63
|
||||
|e+0#af5f00255&|n|d|f|u|n|c|t|i|o|n| +0#0000000&@63
|
||||
@75
|
||||
@57|1|4|5|,|1| @8|8|5|%|
|
20
runtime/syntax/testdir/dumps/vim_ex_function_09.dump
Normal file
20
runtime/syntax/testdir/dumps/vim_ex_function_09.dump
Normal file
@@ -0,0 +1,20 @@
|
||||
| +0&#ffffff0@74
|
||||
|f+0#af5f00255&|u|n|c|t|i|o|n| +0#0000000&|F|o@1|(+0#e000e06&| +0#0000000&@61
|
||||
@6|\+0#e000e06&| +0#0000000&|x+0#00e0e07&|,+0#0000000&| @64
|
||||
@6|\+0#e000e06&| +0#0000000&|y+0#00e0e07&| +0#0000000&|=+0#af5f00255&| +0#0000000&|4+0#e000002&|2|,+0#0000000&| @59
|
||||
@6|\+0#e000e06&| +0#0000000&|z+0#00e0e07&| +0#0000000&|=+0#af5f00255&| +0#0000000&|"+0#e000002&|z|e|d|"|)+0#e000e06&| +0#0000000&@56
|
||||
@2>r+0#af5f00255&|e|t|u|r|n| +0#0000000&|4+0#e000002&|2| +0#0000000&@63
|
||||
|e+0#af5f00255&|n|d|f|u|n|c|t|i|o|n| +0#0000000&@63
|
||||
@75
|
||||
@75
|
||||
|"+0#0000e05&| |c|o|m@1|e|n|t|s| +0#0000000&@64
|
||||
@75
|
||||
|f+0#af5f00255&|u|n|c|t|i|o|n| +0#0000000&|F|o@1|(+0#e000e06&|)| +0#0000000&@60
|
||||
| +0#0000e05&@1|"| |L|e|g|a|c|y|-|s|c|r|i|p|t| |c|o|m@1|e|n|t| +0#0000000&@49
|
||||
@2|#| |4+0#e000002&|2| +0#0000000&|"+0#0000e05&| |c|o|m@1|e|n|t| +0#0000000&@58
|
||||
@2|r+0#af5f00255&|e|t|u|r|n| +0#0000000&|4+0#e000002&|2| +0#0000000&@63
|
||||
|e+0#af5f00255&|n|d|f|u|n|c|t|i|o|n| +0#0000000&@63
|
||||
@75
|
||||
@75
|
||||
|"+0#0000e05&| |d|e|l|e|t|e| |f|u|n|c|t|i|o|n| +0#0000000&@57
|
||||
@57|1|6|3|,|3| @8|9|6|%|
|
20
runtime/syntax/testdir/dumps/vim_ex_function_99.dump
Normal file
20
runtime/syntax/testdir/dumps/vim_ex_function_99.dump
Normal file
@@ -0,0 +1,20 @@
|
||||
|e+0#af5f00255#ffffff0|n|d|f|u|n|c|t|i|o|n| +0#0000000&@63
|
||||
@75
|
||||
@75
|
||||
|"+0#0000e05&| |c|o|m@1|e|n|t|s| +0#0000000&@64
|
||||
@75
|
||||
|f+0#af5f00255&|u|n|c|t|i|o|n| +0#0000000&|F|o@1|(+0#e000e06&|)| +0#0000000&@60
|
||||
| +0#0000e05&@1|"| |L|e|g|a|c|y|-|s|c|r|i|p|t| |c|o|m@1|e|n|t| +0#0000000&@49
|
||||
@2|#| |4+0#e000002&|2| +0#0000000&|"+0#0000e05&| |c|o|m@1|e|n|t| +0#0000000&@58
|
||||
@2|r+0#af5f00255&|e|t|u|r|n| +0#0000000&|4+0#e000002&|2| +0#0000000&@63
|
||||
|e+0#af5f00255&|n|d|f|u|n|c|t|i|o|n| +0#0000000&@63
|
||||
@75
|
||||
@75
|
||||
|"+0#0000e05&| |d|e|l|e|t|e| |f|u|n|c|t|i|o|n| +0#0000000&@57
|
||||
@75
|
||||
|d+0#af5f00255&|e|l|f|u|n|c|t|i|o|n| +0#0000000&|F|o@1| @59
|
||||
|d+0#af5f00255&|e|l|f|u|n|c|t|i|o|n| +0#0000000&|f|o@1|.+0#af5f00255&|b+0#0000000&|a|r| @55
|
||||
|d+0#af5f00255&|e|l|f|u|n|c|t|i|o|n|!| +0#0000000&|F|o@1| @58
|
||||
|d+0#af5f00255&|e|l|f|u|n|c|t|i|o|n| +0#0000000&|f|o@1|.+0#af5f00255&|b+0#0000000&|a|r| @55
|
||||
> @74
|
||||
@57|1|8|2|,|0|-|1| @6|B|o|t|
|
20
runtime/syntax/testdir/dumps/vim_ex_function_fold_00.dump
Normal file
20
runtime/syntax/testdir/dumps/vim_ex_function_fold_00.dump
Normal file
@@ -0,0 +1,20 @@
|
||||
>"+0#0000e05#ffffff0| |V|i|m| |:|f|u|n|c|t|i|o|n| |c|o|m@1|a|n|d| +0#0000000&@51
|
||||
|"+0#0000e05&| |V|I|M|_|T|E|S|T|_|S|E|T|U|P| |l|e|t| |g|:|v|i|m|s|y|n|_|f|o|l|d|i|n|g| |=| |"+0#e000002&|f|"| +0#0000e05&||| |s|e|t| |f|d|m|=|s|y|n|t|a|x| +0#0000000&@14
|
||||
@75
|
||||
@75
|
||||
|"+0#0000e05&| |l|i|s|t| +0#0000000&@68
|
||||
@75
|
||||
|f+0#af5f00255&|u|n|c|t|i|o|n| +0#0000000&@66
|
||||
|f+0#af5f00255&|u|n|c|t|i|o|n| +0#0000000&|F|o@1| @62
|
||||
|f+0#af5f00255&|u|n|c|t|i|o|n| +0#0000000&|/+0#af5f00255&|F+0#0000000&|o@1|.|*| @59
|
||||
@75
|
||||
|f+0#af5f00255&|u|n|c|t|i|o|n| +0#0000000&||| |e+0#af5f00255&|c|h|o| +0#0000000&|"+0#e000002&|F|o@1|"| +0#0000000&@53
|
||||
|f+0#af5f00255&|u|n|c|t|i|o|n| +0#0000000&|"+0#0000e05&| |c|o|m@1|e|n|t| +0#0000000&@56
|
||||
|f+0#af5f00255&|u|n|c|t|i|o|n| +0#0000000&|F|o@1| ||| |e+0#af5f00255&|c|h|o| +0#0000000&|"+0#e000002&|F|o@1|"| +0#0000000&@49
|
||||
|f+0#af5f00255&|u|n|c|t|i|o|n| +0#0000000&|F|o@1| |"+0#0000e05&| |c|o|m@1|e|n|t| +0#0000000&@52
|
||||
@75
|
||||
@75
|
||||
|"+0#0000e05&| |d|e|f|i|n|i|t|i|o|n| +0#0000000&@62
|
||||
@75
|
||||
|"+0#0000e05&| |e|m|p|t|y| |d|e|f|i|n|i|t|i|o|n| +0#0000000&@56
|
||||
@57|1|,|1| @10|T|o|p|
|
20
runtime/syntax/testdir/dumps/vim_ex_function_fold_01.dump
Normal file
20
runtime/syntax/testdir/dumps/vim_ex_function_fold_01.dump
Normal file
@@ -0,0 +1,20 @@
|
||||
|f+0#af5f00255#ffffff0|u|n|c|t|i|o|n| +0#0000000&|F|o@1| |"+0#0000e05&| |c|o|m@1|e|n|t| +0#0000000&@52
|
||||
@75
|
||||
@75
|
||||
|"+0#0000e05&| |d|e|f|i|n|i|t|i|o|n| +0#0000000&@62
|
||||
@75
|
||||
>"+0#0000e05&| |e|m|p|t|y| |d|e|f|i|n|i|t|i|o|n| +0#0000000&@56
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|2| |l|i|n|e|s|:| |f|u|n|c|t|i|o|n| |F|o@1|(|)|-@46
|
||||
| +0#0000000#ffffff0@74
|
||||
|"+0#0000e05&| |c|u|r|l|y|-|b|r|a|c|e| |n|a|m|e|s| +0#0000000&@55
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|2| |l|i|n|e|s|:| |f|u|n|c|t|i|o|n| |{|"|F|"|}|o@1|(|)|-@42
|
||||
| +0#0000000#ffffff0@74
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|2| |l|i|n|e|s|:| |f|u|n|c|t|i|o|n| |F|{|"|o|"|}|o|(|)|-@42
|
||||
| +0#0000000#ffffff0@74
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|2| |l|i|n|e|s|:| |f|u|n|c|t|i|o|n| |F|o|{|"|o|"|}|(|)|-@42
|
||||
| +0#0000000#ffffff0@74
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|2| |l|i|n|e|s|:| |f|u|n|c|t|i|o|n| |{|"|F|"|}|o|{|"|o|"|}|(|)|-@38
|
||||
| +0#0000000#ffffff0@74
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|2| |l|i|n|e|s|:| |f|u|n|c|t|i|o|n| |{|"|F|"|}|{|"|o|"|}|{|"|o|"|}|(|)|-@34
|
||||
| +0#0000000#ffffff0@74
|
||||
@57|1|9|,|1| @10|8|%|
|
20
runtime/syntax/testdir/dumps/vim_ex_function_fold_02.dump
Normal file
20
runtime/syntax/testdir/dumps/vim_ex_function_fold_02.dump
Normal file
@@ -0,0 +1,20 @@
|
||||
| +0&#ffffff0@74
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|2| |l|i|n|e|s|:| |f|u|n|c|t|i|o|n| |F|o|{|"|o|"|}|(|)|-@42
|
||||
| +0#0000000#ffffff0@74
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|2| |l|i|n|e|s|:| |f|u|n|c|t|i|o|n| |{|"|F|"|}|o|{|"|o|"|}|(|)|-@38
|
||||
| +0#0000000#ffffff0@74
|
||||
>++0#0000e05#a8a8a8255|-@1| @1|2| |l|i|n|e|s|:| |f|u|n|c|t|i|o|n| |{|"|F|"|}|{|"|o|"|}|{|"|o|"|}|(|)|-@34
|
||||
| +0#0000000#ffffff0@74
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|3| |l|i|n|e|s|:| |f|u|n|c|t|i|o|n| |F|o@1|(|)|-@46
|
||||
| +0#0000000#ffffff0@74
|
||||
|"+0#0000e05&| |t|r|a|i|l|i|n|g| |w|h|i|t|e|s|p|a|c|e| +0#0000000&@53
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|3| |l|i|n|e|s|:| |f|u|n|c|t|i|o|n| |F|o@1|(|)| @1|-@44
|
||||
| +0#0000000#ffffff0@74
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|3| |l|i|n|e|s|:| |f|u|n|c|t|i|o|n| |F|o@1|(|)| |"| |c|o|m@1|e|n|t|-@36
|
||||
| +0#0000000#ffffff0@74
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|3| |l|i|n|e|s|:| |f|u|n|c|t|i|o|n|!| |F|o@1|(|)|-@45
|
||||
| +0#0000000#ffffff0@74
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|3| |l|i|n|e|s|:| |f|u|n|c|t|i|o|n| |g|:|F|o@1|(|)|-@44
|
||||
| +0#0000000#ffffff0@74
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|3| |l|i|n|e|s|:| |f|u|n|c|t|i|o|n| |s|:|F|o@1|(|)|-@44
|
||||
| +0#0000000#ffffff0@56|3|7|,|1| @9|1|8|%|
|
20
runtime/syntax/testdir/dumps/vim_ex_function_fold_03.dump
Normal file
20
runtime/syntax/testdir/dumps/vim_ex_function_fold_03.dump
Normal file
@@ -0,0 +1,20 @@
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|3| |l|i|n|e|s|:| |f|u|n|c|t|i|o|n| |F|o@1|(|)| @1|-@44
|
||||
| +0#0000000#ffffff0@74
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|3| |l|i|n|e|s|:| |f|u|n|c|t|i|o|n| |F|o@1|(|)| |"| |c|o|m@1|e|n|t|-@36
|
||||
| +0#0000000#ffffff0@74
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|3| |l|i|n|e|s|:| |f|u|n|c|t|i|o|n|!| |F|o@1|(|)|-@45
|
||||
> +0#0000000#ffffff0@74
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|3| |l|i|n|e|s|:| |f|u|n|c|t|i|o|n| |g|:|F|o@1|(|)|-@44
|
||||
| +0#0000000#ffffff0@74
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|3| |l|i|n|e|s|:| |f|u|n|c|t|i|o|n| |s|:|F|o@1|(|)|-@44
|
||||
| +0#0000000#ffffff0@74
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|3| |l|i|n|e|s|:| |f|u|n|c|t|i|o|n| |<|S|I|D|>|F|o@1|(|)|-@41
|
||||
| +0#0000000#ffffff0@74
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|3| |l|i|n|e|s|:| |f|u|n|c|t|i|o|n| |f|o@1|#|b|a|r|#|F|o@1|(|)|-@38
|
||||
| +0#0000000#ffffff0@74
|
||||
|"+0#0000e05&| |s|a|m|e| |n|a|m|e| |a|s| |a|n| |E|x| |c|o|m@1|a|n|d| +0#0000000&@46
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|2| |l|i|n|e|s|:| |f|u|n|c|t|i|o|n| |s|:|l|s|(|)|-@45
|
||||
| +0#0000000#ffffff0@74
|
||||
@75
|
||||
|"+0#0000e05&| |m|o|d|i|f|i|e|r|s| +0#0000000&@63
|
||||
@57|5@1|,|0|-|1| @7|2|8|%|
|
20
runtime/syntax/testdir/dumps/vim_ex_function_fold_04.dump
Normal file
20
runtime/syntax/testdir/dumps/vim_ex_function_fold_04.dump
Normal file
@@ -0,0 +1,20 @@
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|3| |l|i|n|e|s|:| |f|u|n|c|t|i|o|n| |<|S|I|D|>|F|o@1|(|)|-@41
|
||||
| +0#0000000#ffffff0@74
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|3| |l|i|n|e|s|:| |f|u|n|c|t|i|o|n| |f|o@1|#|b|a|r|#|F|o@1|(|)|-@38
|
||||
| +0#0000000#ffffff0@74
|
||||
|"+0#0000e05&| |s|a|m|e| |n|a|m|e| |a|s| |a|n| |E|x| |c|o|m@1|a|n|d| +0#0000000&@46
|
||||
>++0#0000e05#a8a8a8255|-@1| @1|2| |l|i|n|e|s|:| |f|u|n|c|t|i|o|n| |s|:|l|s|(|)|-@45
|
||||
| +0#0000000#ffffff0@74
|
||||
@75
|
||||
|"+0#0000e05&| |m|o|d|i|f|i|e|r|s| +0#0000000&@63
|
||||
@75
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|2| |l|i|n|e|s|:| |f|u|n|c|t|i|o|n| |F|o@1|(|)| |r|a|n|g|e|-@40
|
||||
| +0#0000000#ffffff0@74
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|2| |l|i|n|e|s|:| |f|u|n|c|t|i|o|n| |F|o@1|(|)| |r|a|n|g|e| |"| |c|o|m@1|e|n|t|-@30
|
||||
| +0#0000000#ffffff0@74
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|3| |l|i|n|e|s|:| |f|u|n|c|t|i|o|n| |F|o@1|(|)| |r|a|n|g|e|-@40
|
||||
| +0#0000000#ffffff0@74
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|3| |l|i|n|e|s|:| |f|u|n|c|t|i|o|n| |F|o@1|(|)| |a|b|o|r|t|-@40
|
||||
| +0#0000000#ffffff0@74
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|3| |l|i|n|e|s|:| |f|u|n|c|t|i|o|n| |F|o@1|(|)| |d|i|c|t|-@41
|
||||
| +0#0000000#ffffff0@56|7|3|,|1| @9|4|1|%|
|
20
runtime/syntax/testdir/dumps/vim_ex_function_fold_05.dump
Normal file
20
runtime/syntax/testdir/dumps/vim_ex_function_fold_05.dump
Normal file
@@ -0,0 +1,20 @@
|
||||
| +0&#ffffff0@74
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|2| |l|i|n|e|s|:| |f|u|n|c|t|i|o|n| |F|o@1|(|)| |r|a|n|g|e| |"| |c|o|m@1|e|n|t|-@30
|
||||
| +0#0000000#ffffff0@74
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|3| |l|i|n|e|s|:| |f|u|n|c|t|i|o|n| |F|o@1|(|)| |r|a|n|g|e|-@40
|
||||
| +0#0000000#ffffff0@74
|
||||
>++0#0000e05#a8a8a8255|-@1| @1|3| |l|i|n|e|s|:| |f|u|n|c|t|i|o|n| |F|o@1|(|)| |a|b|o|r|t|-@40
|
||||
| +0#0000000#ffffff0@74
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|3| |l|i|n|e|s|:| |f|u|n|c|t|i|o|n| |F|o@1|(|)| |d|i|c|t|-@41
|
||||
| +0#0000000#ffffff0@74
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|3| |l|i|n|e|s|:| |f|u|n|c|t|i|o|n| |F|o@1|(|)| |c|l|o|s|u|r|e|-@38
|
||||
| +0#0000000#ffffff0@74
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|3| |l|i|n|e|s|:| |f|u|n|c|t|i|o|n| |F|o@1|(|)| |r|a|n|g|e| |a|b|o|r|t| |d|i|c|t| |c|l|o|s|u|r|e|-@21
|
||||
| +0#0000000#ffffff0@74
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|3| |l|i|n|e|s|:| |f|u|n|c|t|i|o|n|!| |F|o@1|(|)| |r|a|n|g|e|-@39
|
||||
| +0#0000000#ffffff0@74
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|3| |l|i|n|e|s|:| |f|u|n|c|t|i|o|n|!| |F|o@1|(|)| |a|b|o|r|t|-@39
|
||||
| +0#0000000#ffffff0@74
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|3| |l|i|n|e|s|:| |f|u|n|c|t|i|o|n|!| |F|o@1|(|)| |d|i|c|t|-@40
|
||||
| +0#0000000#ffffff0@74
|
||||
@57|9|1|,|1| @9|5|4|%|
|
20
runtime/syntax/testdir/dumps/vim_ex_function_fold_06.dump
Normal file
20
runtime/syntax/testdir/dumps/vim_ex_function_fold_06.dump
Normal file
@@ -0,0 +1,20 @@
|
||||
| +0&#ffffff0@74
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|3| |l|i|n|e|s|:| |f|u|n|c|t|i|o|n| |F|o@1|(|)| |r|a|n|g|e| |a|b|o|r|t| |d|i|c|t| |c|l|o|s|u|r|e|-@21
|
||||
| +0#0000000#ffffff0@74
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|3| |l|i|n|e|s|:| |f|u|n|c|t|i|o|n|!| |F|o@1|(|)| |r|a|n|g|e|-@39
|
||||
| +0#0000000#ffffff0@74
|
||||
>++0#0000e05#a8a8a8255|-@1| @1|3| |l|i|n|e|s|:| |f|u|n|c|t|i|o|n|!| |F|o@1|(|)| |a|b|o|r|t|-@39
|
||||
| +0#0000000#ffffff0@74
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|3| |l|i|n|e|s|:| |f|u|n|c|t|i|o|n|!| |F|o@1|(|)| |d|i|c|t|-@40
|
||||
| +0#0000000#ffffff0@74
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|3| |l|i|n|e|s|:| |f|u|n|c|t|i|o|n|!| |F|o@1|(|)| |c|l|o|s|u|r|e|-@37
|
||||
| +0#0000000#ffffff0@74
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|3| |l|i|n|e|s|:| |f|u|n|c|t|i|o|n|!| |F|o@1|(|)| |r|a|n|g|e| |a|b|o|r|t| |d|i|c|t| |c|l|o|s|u|r|e|-@20
|
||||
| +0#0000000#ffffff0@74
|
||||
@75
|
||||
|"+0#0000e05&| |:|e|n|d|f|u|n|c|t|i|o|n| |t|r|a|i|l|i|n|g| +0#0000000&@51
|
||||
@75
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|4| |l|i|n|e|s|:| |f|u|n|c|t|i|o|n| |F|o@1|(|)|-@46
|
||||
| +0#0000000#ffffff0@74
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|3| |l|i|n|e|s|:| |f|u|n|c|t|i|o|n| |F|o@1|(|)|-@46
|
||||
| +0#0000000#ffffff0@56|1|0|9|,|1| @8|6|7|%|
|
20
runtime/syntax/testdir/dumps/vim_ex_function_fold_07.dump
Normal file
20
runtime/syntax/testdir/dumps/vim_ex_function_fold_07.dump
Normal file
@@ -0,0 +1,20 @@
|
||||
| +0&#ffffff0@74
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|3| |l|i|n|e|s|:| |f|u|n|c|t|i|o|n|!| |F|o@1|(|)| |r|a|n|g|e| |a|b|o|r|t| |d|i|c|t| |c|l|o|s|u|r|e|-@20
|
||||
| +0#0000000#ffffff0@74
|
||||
@75
|
||||
|"+0#0000e05&| |:|e|n|d|f|u|n|c|t|i|o|n| |t|r|a|i|l|i|n|g| +0#0000000&@51
|
||||
> @74
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|4| |l|i|n|e|s|:| |f|u|n|c|t|i|o|n| |F|o@1|(|)|-@46
|
||||
| +0#0000000#ffffff0@74
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|3| |l|i|n|e|s|:| |f|u|n|c|t|i|o|n| |F|o@1|(|)|-@46
|
||||
| +0#0000000#ffffff0@74
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|3| |l|i|n|e|s|:| |f|u|n|c|t|i|o|n| |F|o@1|(|)|-@46
|
||||
| +0#0000000#ffffff0@74
|
||||
@75
|
||||
|"+0#0000e05&| |p|a|r|a|m|e|t|e|r|s| +0#0000000&@62
|
||||
@75
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|3| |l|i|n|e|s|:| |f|u|n|c|t|i|o|n| |F|o@1|(|x|,| |y|,| |z|,| |.@2|)|-@34
|
||||
| +0#0000000#ffffff0@74
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|7| |l|i|n|e|s|:| |f|u|n|c|t|i|o|n| |F|o@1|(|-@47
|
||||
| +0#0000000#ffffff0@74
|
||||
@57|1|2|7|,|0|-|1| @6|8|0|%|
|
20
runtime/syntax/testdir/dumps/vim_ex_function_fold_08.dump
Normal file
20
runtime/syntax/testdir/dumps/vim_ex_function_fold_08.dump
Normal file
@@ -0,0 +1,20 @@
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|3| |l|i|n|e|s|:| |f|u|n|c|t|i|o|n| |F|o@1|(|)|-@46
|
||||
| +0#0000000#ffffff0@74
|
||||
@75
|
||||
|"+0#0000e05&| |p|a|r|a|m|e|t|e|r|s| +0#0000000&@62
|
||||
@75
|
||||
>++0#0000e05#a8a8a8255|-@1| @1|3| |l|i|n|e|s|:| |f|u|n|c|t|i|o|n| |F|o@1|(|x|,| |y|,| |z|,| |.@2|)|-@34
|
||||
| +0#0000000#ffffff0@74
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|7| |l|i|n|e|s|:| |f|u|n|c|t|i|o|n| |F|o@1|(|-@47
|
||||
| +0#0000000#ffffff0@74
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|3| |l|i|n|e|s|:| |f|u|n|c|t|i|o|n| |F|o@1|(|x|,| |y| |=| |4|2|,| |z| |=| |"|z|e|d|"|)|-@26
|
||||
| +0#0000000#ffffff0@74
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|6| |l|i|n|e|s|:| |f|u|n|c|t|i|o|n| |F|o@1|(|-@47
|
||||
| +0#0000000#ffffff0@74
|
||||
@75
|
||||
|"+0#0000e05&| |c|o|m@1|e|n|t|s| +0#0000000&@64
|
||||
@75
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|5| |l|i|n|e|s|:| |f|u|n|c|t|i|o|n| |F|o@1|(|)|-@46
|
||||
| +0#0000000#ffffff0@74
|
||||
@75
|
||||
@57|1|4|5|,|3|-|1| @6|9|5|%|
|
20
runtime/syntax/testdir/dumps/vim_ex_function_fold_09.dump
Normal file
20
runtime/syntax/testdir/dumps/vim_ex_function_fold_09.dump
Normal file
@@ -0,0 +1,20 @@
|
||||
| +0&#ffffff0@74
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|7| |l|i|n|e|s|:| |f|u|n|c|t|i|o|n| |F|o@1|(|-@47
|
||||
| +0#0000000#ffffff0@74
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|3| |l|i|n|e|s|:| |f|u|n|c|t|i|o|n| |F|o@1|(|x|,| |y| |=| |4|2|,| |z| |=| |"|z|e|d|"|)|-@26
|
||||
| +0#0000000#ffffff0@74
|
||||
>++0#0000e05#a8a8a8255|-@1| @1|6| |l|i|n|e|s|:| |f|u|n|c|t|i|o|n| |F|o@1|(|-@47
|
||||
| +0#0000000#ffffff0@74
|
||||
@75
|
||||
|"+0#0000e05&| |c|o|m@1|e|n|t|s| +0#0000000&@64
|
||||
@75
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|5| |l|i|n|e|s|:| |f|u|n|c|t|i|o|n| |F|o@1|(|)|-@46
|
||||
| +0#0000000#ffffff0@74
|
||||
@75
|
||||
|"+0#0000e05&| |d|e|l|e|t|e| |f|u|n|c|t|i|o|n| +0#0000000&@57
|
||||
@75
|
||||
|d+0#af5f00255&|e|l|f|u|n|c|t|i|o|n| +0#0000000&|F|o@1| @59
|
||||
|d+0#af5f00255&|e|l|f|u|n|c|t|i|o|n| +0#0000000&|f|o@1|.+0#af5f00255&|b+0#0000000&|a|r| @55
|
||||
|d+0#af5f00255&|e|l|f|u|n|c|t|i|o|n|!| +0#0000000&|F|o@1| @58
|
||||
|d+0#af5f00255&|e|l|f|u|n|c|t|i|o|n| +0#0000000&|f|o@1|.+0#af5f00255&|b+0#0000000&|a|r| @55
|
||||
@57|1|6|3|,|7|-|1| @6|9@1|%|
|
20
runtime/syntax/testdir/dumps/vim_ex_function_fold_99.dump
Normal file
20
runtime/syntax/testdir/dumps/vim_ex_function_fold_99.dump
Normal file
@@ -0,0 +1,20 @@
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|7| |l|i|n|e|s|:| |f|u|n|c|t|i|o|n| |F|o@1|(|-@47
|
||||
| +0#0000000#ffffff0@74
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|3| |l|i|n|e|s|:| |f|u|n|c|t|i|o|n| |F|o@1|(|x|,| |y| |=| |4|2|,| |z| |=| |"|z|e|d|"|)|-@26
|
||||
| +0#0000000#ffffff0@74
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|6| |l|i|n|e|s|:| |f|u|n|c|t|i|o|n| |F|o@1|(|-@47
|
||||
| +0#0000000#ffffff0@74
|
||||
@75
|
||||
|"+0#0000e05&| |c|o|m@1|e|n|t|s| +0#0000000&@64
|
||||
@75
|
||||
|++0#0000e05#a8a8a8255|-@1| @1|5| |l|i|n|e|s|:| |f|u|n|c|t|i|o|n| |F|o@1|(|)|-@46
|
||||
| +0#0000000#ffffff0@74
|
||||
@75
|
||||
|"+0#0000e05&| |d|e|l|e|t|e| |f|u|n|c|t|i|o|n| +0#0000000&@57
|
||||
@75
|
||||
|d+0#af5f00255&|e|l|f|u|n|c|t|i|o|n| +0#0000000&|F|o@1| @59
|
||||
|d+0#af5f00255&|e|l|f|u|n|c|t|i|o|n| +0#0000000&|f|o@1|.+0#af5f00255&|b+0#0000000&|a|r| @55
|
||||
|d+0#af5f00255&|e|l|f|u|n|c|t|i|o|n|!| +0#0000000&|F|o@1| @58
|
||||
|d+0#af5f00255&|e|l|f|u|n|c|t|i|o|n| +0#0000000&|f|o@1|.+0#af5f00255&|b+0#0000000&|a|r| @55
|
||||
> @74
|
||||
@57|1|8|3|,|0|-|1| @6|B|o|t|
|
@@ -11,9 +11,9 @@
|
||||
|"+0#0000e05&| +0#0000000&|E+0#e000e06&|x|a|m|p|l|e|:| +0#0000e05&|r|u|n|t|i|m|e|/|s|y|n|t|a|x|/|z|s|h|.|v|i|m| +0#0000000&@41
|
||||
|"+0#0000e05&| @2|"+0#e000002&|c|l|u|s|t|e|r|"| +0#0000e05&|s|h|o|u|l|d| |n|o|t| |b|e| |h|i|g|h|l|i|g|h|t|e|d| |o|u|t|s|i|d|e| |o|f| |:|s|y|n|t|a|x| |c|o|m@1|a|n|d|s| +0#0000000&@7
|
||||
@75
|
||||
|f+0#af5f00255&|u|n|c|t|i|o|n|!+0#0000000&| |s+0#e000e06&|:|C+0#0000000&|o|n|t|a|i|n|e|d|G|r|o|u|p|(+0#e000e06&|)| +0#0000000&@46
|
||||
|f+0#af5f00255&|u|n|c|t|i|o|n|!| +0#0000000&|s+0#e000e06&|:|C+0#0000000&|o|n|t|a|i|n|e|d|G|r|o|u|p|(+0#e000e06&|)| +0#0000000&@46
|
||||
| +0#0000e05&@1|"| |.@2| +0#0000000&@67
|
||||
@2|f+0#af5f00255&|o|r| +0#0000000&|c|l|u|s|t|e|r| |i+0#af5f00255&|n| +0#0000000&|[|'+0#e000002&|m|a|r|k|d|o|w|n|H|i|g|h|l|i|g|h|t|_|z|s|h|'|,+0#0000000&| |'+0#e000002&|z|s|h|'|]+0#0000000&| @25
|
||||
@2|f+0#af5f00255&|o|r| +0#0000000&|c+0#00e0e07&|l|u|s|t|e|r| +0#0000000&|i+0#af5f00255&|n| +0#0000000&|[|'+0#e000002&|m|a|r|k|d|o|w|n|H|i|g|h|l|i|g|h|t|_|z|s|h|'|,+0#0000000&| |'+0#e000002&|z|s|h|'|]+0#0000000&| @25
|
||||
| +0#0000e05&@3|"| |.@2| +0#0000000&@65
|
||||
@2|e+0#af5f00255&|n|d|f|o|r| +0#0000000&@66
|
||||
| +0#0000e05&@1|"| |.@2| +0#0000000&@67
|
||||
|
@@ -10,9 +10,9 @@
|
||||
|"+0#0000e05&| +0#0000000&|E+0#e000e06&|x|a|m|p|l|e|:| +0#0000e05&|r|u|n|t|i|m|e|/|s|y|n|t|a|x|/|z|s|h|.|v|i|m| +0#0000000&@41
|
||||
|"+0#0000e05&| @2|"+0#e000002&|c|l|u|s|t|e|r|"| +0#0000e05&|s|h|o|u|l|d| |n|o|t| |b|e| |h|i|g|h|l|i|g|h|t|e|d| |o|u|t|s|i|d|e| |o|f| |:|s|y|n|t|a|x| |c|o|m@1|a|n|d|s| +0#0000000&@7
|
||||
@75
|
||||
|f+0#af5f00255&|u|n|c|t|i|o|n|!+0#0000000&| |s+0#e000e06&|:|C+0#0000000&|o|n|t|a|i|n|e|d|G|r|o|u|p|(+0#e000e06&|)| +0#0000000&@46
|
||||
|f+0#af5f00255&|u|n|c|t|i|o|n|!| +0#0000000&|s+0#e000e06&|:|C+0#0000000&|o|n|t|a|i|n|e|d|G|r|o|u|p|(+0#e000e06&|)| +0#0000000&@46
|
||||
| +0#0000e05&@1|"| |.@2| +0#0000000&@67
|
||||
@2|f+0#af5f00255&|o|r| +0#0000000&|c|l|u|s|t|e|r| |i+0#af5f00255&|n| +0#0000000&|[|'+0#e000002&|m|a|r|k|d|o|w|n|H|i|g|h|l|i|g|h|t|_|z|s|h|'|,+0#0000000&| |'+0#e000002&|z|s|h|'|]+0#0000000&| @25
|
||||
@2|f+0#af5f00255&|o|r| +0#0000000&|c+0#00e0e07&|l|u|s|t|e|r| +0#0000000&|i+0#af5f00255&|n| +0#0000000&|[|'+0#e000002&|m|a|r|k|d|o|w|n|H|i|g|h|l|i|g|h|t|_|z|s|h|'|,+0#0000000&| |'+0#e000002&|z|s|h|'|]+0#0000000&| @25
|
||||
| +0#0000e05&@3|"| |.@2| +0#0000000&@65
|
||||
@2|e+0#af5f00255&|n|d|f|o|r| +0#0000000&@66
|
||||
| +0#0000e05&@1|"| |.@2| +0#0000000&@67
|
||||
|
125
runtime/syntax/testdir/input/vim_ex_def.vim
Normal file
125
runtime/syntax/testdir/input/vim_ex_def.vim
Normal file
@@ -0,0 +1,125 @@
|
||||
" Vim :def command
|
||||
|
||||
|
||||
" list
|
||||
|
||||
def
|
||||
def Foo
|
||||
def /Foo.*
|
||||
|
||||
def | echo "Foo"
|
||||
def " comment
|
||||
def Foo | echo "Foo"
|
||||
def Foo " comment
|
||||
|
||||
|
||||
" definition
|
||||
|
||||
" empty definition
|
||||
def Foo()
|
||||
enddef
|
||||
|
||||
# curly-brace names
|
||||
def {"F"}oo()
|
||||
enddef
|
||||
|
||||
def F{"o"}o()
|
||||
enddef
|
||||
|
||||
def Fo{"o"}()
|
||||
enddef
|
||||
|
||||
def {"F"}o{"o"}()
|
||||
enddef
|
||||
|
||||
def {"F"}{"o"}{"o"}()
|
||||
enddef
|
||||
|
||||
def Foo(): number
|
||||
return 42
|
||||
enddef
|
||||
|
||||
# trailing whitespace
|
||||
def Foo(): number
|
||||
return 42
|
||||
enddef
|
||||
|
||||
def Foo() # comment
|
||||
enddef
|
||||
|
||||
def Foo(): number # comment
|
||||
return 42
|
||||
enddef
|
||||
|
||||
def! Foo(): number
|
||||
return 42
|
||||
enddef
|
||||
|
||||
def g:Foo(): number
|
||||
return 42
|
||||
enddef
|
||||
|
||||
def s:Foo(): number
|
||||
return 42
|
||||
enddef
|
||||
|
||||
def <SID>Foo(): number
|
||||
return 42
|
||||
enddef
|
||||
|
||||
def foo#bar#Foo(): number
|
||||
return 42
|
||||
enddef
|
||||
|
||||
" same name as an Ex command
|
||||
def s:ls()
|
||||
enddef
|
||||
|
||||
|
||||
" return types
|
||||
|
||||
def Foo(): void
|
||||
enddef
|
||||
|
||||
def Foo(): void # comment
|
||||
enddef
|
||||
|
||||
def Foo(): list<dict<number>>
|
||||
enddef
|
||||
|
||||
def Foo(): func(dict<list<number>>, func, bool, func(number, list<number>)): bool
|
||||
enddef
|
||||
|
||||
|
||||
" :enddef trailing
|
||||
|
||||
def Foo()
|
||||
# trailing whitespace
|
||||
enddef
|
||||
|
||||
def Foo()
|
||||
enddef | echo "Foo"
|
||||
|
||||
def Foo()
|
||||
enddef " comment
|
||||
|
||||
|
||||
" parameters
|
||||
|
||||
def Foo(x: bool, y = 42, z: string = "zed")
|
||||
enddef
|
||||
|
||||
def Foo(
|
||||
x: bool,
|
||||
y = 42,
|
||||
z: string = "zed")
|
||||
enddef
|
||||
|
||||
|
||||
" comments
|
||||
|
||||
def Foo()
|
||||
# Vim9-script comment
|
||||
"useless string"
|
||||
enddef
|
||||
|
126
runtime/syntax/testdir/input/vim_ex_def_fold.vim
Normal file
126
runtime/syntax/testdir/input/vim_ex_def_fold.vim
Normal file
@@ -0,0 +1,126 @@
|
||||
" Vim :def command
|
||||
" VIM_TEST_SETUP let g:vimsyn_folding = "f" | set fdm=syntax
|
||||
|
||||
|
||||
" list
|
||||
|
||||
def
|
||||
def Foo
|
||||
def /Foo.*
|
||||
|
||||
def | echo "Foo"
|
||||
def " comment
|
||||
def Foo | echo "Foo"
|
||||
def Foo " comment
|
||||
|
||||
|
||||
" definition
|
||||
|
||||
" empty definition
|
||||
def Foo()
|
||||
enddef
|
||||
|
||||
# curly-brace names
|
||||
def {"F"}oo()
|
||||
enddef
|
||||
|
||||
def F{"o"}o()
|
||||
enddef
|
||||
|
||||
def Fo{"o"}()
|
||||
enddef
|
||||
|
||||
def {"F"}o{"o"}()
|
||||
enddef
|
||||
|
||||
def {"F"}{"o"}{"o"}()
|
||||
enddef
|
||||
|
||||
def Foo(): number
|
||||
return 42
|
||||
enddef
|
||||
|
||||
# trailing whitespace
|
||||
def Foo(): number
|
||||
return 42
|
||||
enddef
|
||||
|
||||
def Foo() # comment
|
||||
enddef
|
||||
|
||||
def Foo(): number # comment
|
||||
return 42
|
||||
enddef
|
||||
|
||||
def! Foo(): number
|
||||
return 42
|
||||
enddef
|
||||
|
||||
def g:Foo(): number
|
||||
return 42
|
||||
enddef
|
||||
|
||||
def s:Foo(): number
|
||||
return 42
|
||||
enddef
|
||||
|
||||
def <SID>Foo(): number
|
||||
return 42
|
||||
enddef
|
||||
|
||||
def foo#bar#Foo(): number
|
||||
return 42
|
||||
enddef
|
||||
|
||||
" same name as an Ex command
|
||||
def s:ls()
|
||||
enddef
|
||||
|
||||
|
||||
" return types
|
||||
|
||||
def Foo(): void
|
||||
enddef
|
||||
|
||||
def Foo(): void # comment
|
||||
enddef
|
||||
|
||||
def Foo(): list<dict<number>>
|
||||
enddef
|
||||
|
||||
def Foo(): func(dict<list<number>>, func, bool, func(number, list<number>)): bool
|
||||
enddef
|
||||
|
||||
|
||||
" :enddef trailing
|
||||
|
||||
def Foo()
|
||||
# trailing whitespace
|
||||
enddef
|
||||
|
||||
def Foo()
|
||||
enddef | echo "Foo"
|
||||
|
||||
def Foo()
|
||||
enddef " comment
|
||||
|
||||
|
||||
" parameters
|
||||
|
||||
def Foo(x: bool, y = 42, z: string = "zed")
|
||||
enddef
|
||||
|
||||
def Foo(
|
||||
x: bool,
|
||||
y = 42,
|
||||
z: string = "zed")
|
||||
enddef
|
||||
|
||||
|
||||
" comments
|
||||
|
||||
def Foo()
|
||||
# Vim9-script comment
|
||||
"useless string"
|
||||
enddef
|
||||
|
182
runtime/syntax/testdir/input/vim_ex_function.vim
Normal file
182
runtime/syntax/testdir/input/vim_ex_function.vim
Normal file
@@ -0,0 +1,182 @@
|
||||
" Vim :function command
|
||||
|
||||
|
||||
" list
|
||||
|
||||
function
|
||||
function Foo
|
||||
function /Foo.*
|
||||
|
||||
function | echo "Foo"
|
||||
function " comment
|
||||
function Foo | echo "Foo"
|
||||
function Foo " comment
|
||||
|
||||
|
||||
" definition
|
||||
|
||||
" empty definition
|
||||
function Foo()
|
||||
endfunction
|
||||
|
||||
" curly-brace names
|
||||
function {"F"}oo()
|
||||
endfunction
|
||||
|
||||
function F{"o"}o()
|
||||
endfunction
|
||||
|
||||
function Fo{"o"}()
|
||||
endfunction
|
||||
|
||||
function {"F"}o{"o"}()
|
||||
endfunction
|
||||
|
||||
function {"F"}{"o"}{"o"}()
|
||||
endfunction
|
||||
|
||||
function Foo()
|
||||
return 42
|
||||
endfunction
|
||||
|
||||
" trailing whitespace
|
||||
function Foo()
|
||||
return 42
|
||||
endfunction
|
||||
|
||||
function Foo() " comment
|
||||
return 42
|
||||
endfunction
|
||||
|
||||
function! Foo()
|
||||
return 42
|
||||
endfunction
|
||||
|
||||
function g:Foo()
|
||||
return 42
|
||||
endfunction
|
||||
|
||||
function s:Foo()
|
||||
return 42
|
||||
endfunction
|
||||
|
||||
function <SID>Foo()
|
||||
return 42
|
||||
endfunction
|
||||
|
||||
function foo#bar#Foo()
|
||||
return 42
|
||||
endfunction
|
||||
|
||||
" same name as an Ex command
|
||||
function s:ls()
|
||||
endfunction
|
||||
|
||||
|
||||
" modifiers
|
||||
|
||||
function Foo() range
|
||||
endfunction
|
||||
|
||||
function Foo() range " comment
|
||||
endfunction
|
||||
|
||||
function Foo() range
|
||||
return 42
|
||||
endfunction
|
||||
|
||||
function Foo() abort
|
||||
return 42
|
||||
endfunction
|
||||
|
||||
function Foo() dict
|
||||
return 42
|
||||
endfunction
|
||||
|
||||
function Foo() closure
|
||||
return 42
|
||||
endfunction
|
||||
|
||||
function Foo() range abort dict closure
|
||||
return 42
|
||||
endfunction
|
||||
|
||||
function! Foo() range
|
||||
return 42
|
||||
endfunction
|
||||
|
||||
function! Foo() abort
|
||||
return 42
|
||||
endfunction
|
||||
|
||||
function! Foo() dict
|
||||
return 42
|
||||
endfunction
|
||||
|
||||
function! Foo() closure
|
||||
return 42
|
||||
endfunction
|
||||
|
||||
function! Foo() range abort dict closure
|
||||
return 42
|
||||
endfunction
|
||||
|
||||
|
||||
" :endfunction trailing
|
||||
|
||||
function Foo()
|
||||
return 42
|
||||
" trailing whitespace
|
||||
endfunction
|
||||
|
||||
function Foo()
|
||||
return 42
|
||||
endfunction | echo "Foo"
|
||||
|
||||
function Foo()
|
||||
return 42
|
||||
endfunction " comment
|
||||
|
||||
|
||||
" parameters
|
||||
|
||||
function Foo(x, y, z, ...)
|
||||
return 42
|
||||
endfunction
|
||||
|
||||
function Foo(
|
||||
\ x,
|
||||
\ y,
|
||||
\ z,
|
||||
\ ...)
|
||||
return 42
|
||||
endfunction
|
||||
|
||||
function Foo(x, y = 42, z = "zed")
|
||||
return 42
|
||||
endfunction
|
||||
|
||||
function Foo(
|
||||
\ x,
|
||||
\ y = 42,
|
||||
\ z = "zed")
|
||||
return 42
|
||||
endfunction
|
||||
|
||||
|
||||
" comments
|
||||
|
||||
function Foo()
|
||||
" Legacy-script comment
|
||||
# 42 " comment
|
||||
return 42
|
||||
endfunction
|
||||
|
||||
|
||||
" delete function
|
||||
|
||||
delfunction Foo
|
||||
delfunction foo.bar
|
||||
delfunction! Foo
|
||||
delfunction foo.bar
|
||||
|
183
runtime/syntax/testdir/input/vim_ex_function_fold.vim
Normal file
183
runtime/syntax/testdir/input/vim_ex_function_fold.vim
Normal file
@@ -0,0 +1,183 @@
|
||||
" Vim :function command
|
||||
" VIM_TEST_SETUP let g:vimsyn_folding = "f" | set fdm=syntax
|
||||
|
||||
|
||||
" list
|
||||
|
||||
function
|
||||
function Foo
|
||||
function /Foo.*
|
||||
|
||||
function | echo "Foo"
|
||||
function " comment
|
||||
function Foo | echo "Foo"
|
||||
function Foo " comment
|
||||
|
||||
|
||||
" definition
|
||||
|
||||
" empty definition
|
||||
function Foo()
|
||||
endfunction
|
||||
|
||||
" curly-brace names
|
||||
function {"F"}oo()
|
||||
endfunction
|
||||
|
||||
function F{"o"}o()
|
||||
endfunction
|
||||
|
||||
function Fo{"o"}()
|
||||
endfunction
|
||||
|
||||
function {"F"}o{"o"}()
|
||||
endfunction
|
||||
|
||||
function {"F"}{"o"}{"o"}()
|
||||
endfunction
|
||||
|
||||
function Foo()
|
||||
return 42
|
||||
endfunction
|
||||
|
||||
" trailing whitespace
|
||||
function Foo()
|
||||
return 42
|
||||
endfunction
|
||||
|
||||
function Foo() " comment
|
||||
return 42
|
||||
endfunction
|
||||
|
||||
function! Foo()
|
||||
return 42
|
||||
endfunction
|
||||
|
||||
function g:Foo()
|
||||
return 42
|
||||
endfunction
|
||||
|
||||
function s:Foo()
|
||||
return 42
|
||||
endfunction
|
||||
|
||||
function <SID>Foo()
|
||||
return 42
|
||||
endfunction
|
||||
|
||||
function foo#bar#Foo()
|
||||
return 42
|
||||
endfunction
|
||||
|
||||
" same name as an Ex command
|
||||
function s:ls()
|
||||
endfunction
|
||||
|
||||
|
||||
" modifiers
|
||||
|
||||
function Foo() range
|
||||
endfunction
|
||||
|
||||
function Foo() range " comment
|
||||
endfunction
|
||||
|
||||
function Foo() range
|
||||
return 42
|
||||
endfunction
|
||||
|
||||
function Foo() abort
|
||||
return 42
|
||||
endfunction
|
||||
|
||||
function Foo() dict
|
||||
return 42
|
||||
endfunction
|
||||
|
||||
function Foo() closure
|
||||
return 42
|
||||
endfunction
|
||||
|
||||
function Foo() range abort dict closure
|
||||
return 42
|
||||
endfunction
|
||||
|
||||
function! Foo() range
|
||||
return 42
|
||||
endfunction
|
||||
|
||||
function! Foo() abort
|
||||
return 42
|
||||
endfunction
|
||||
|
||||
function! Foo() dict
|
||||
return 42
|
||||
endfunction
|
||||
|
||||
function! Foo() closure
|
||||
return 42
|
||||
endfunction
|
||||
|
||||
function! Foo() range abort dict closure
|
||||
return 42
|
||||
endfunction
|
||||
|
||||
|
||||
" :endfunction trailing
|
||||
|
||||
function Foo()
|
||||
return 42
|
||||
" trailing whitespace
|
||||
endfunction
|
||||
|
||||
function Foo()
|
||||
return 42
|
||||
endfunction | echo "Foo"
|
||||
|
||||
function Foo()
|
||||
return 42
|
||||
endfunction " comment
|
||||
|
||||
|
||||
" parameters
|
||||
|
||||
function Foo(x, y, z, ...)
|
||||
return 42
|
||||
endfunction
|
||||
|
||||
function Foo(
|
||||
\ x,
|
||||
\ y,
|
||||
\ z,
|
||||
\ ...)
|
||||
return 42
|
||||
endfunction
|
||||
|
||||
function Foo(x, y = 42, z = "zed")
|
||||
return 42
|
||||
endfunction
|
||||
|
||||
function Foo(
|
||||
\ x,
|
||||
\ y = 42,
|
||||
\ z = "zed")
|
||||
return 42
|
||||
endfunction
|
||||
|
||||
|
||||
" comments
|
||||
|
||||
function Foo()
|
||||
" Legacy-script comment
|
||||
# 42 " comment
|
||||
return 42
|
||||
endfunction
|
||||
|
||||
|
||||
" delete function
|
||||
|
||||
delfunction Foo
|
||||
delfunction foo.bar
|
||||
delfunction! Foo
|
||||
delfunction foo.bar
|
||||
|
Reference in New Issue
Block a user