]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
runtime(vim): Update base-syntax, allow parens in default arguments
authorDoug Kearns <dougkearns@gmail.com>
Thu, 26 Dec 2024 09:13:45 +0000 (10:13 +0100)
committerChristian Brabandt <cb@256bit.org>
Thu, 26 Dec 2024 09:13:45 +0000 (10:13 +0100)
Allow parentheses in default arguments specified in :def and :function
definitions.

fixes #16243
closes: #16269

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
19 files changed:
runtime/syntax/generator/vim.vim.base
runtime/syntax/testdir/dumps/vim_ex_def_02.dump
runtime/syntax/testdir/dumps/vim_ex_def_03.dump
runtime/syntax/testdir/dumps/vim_ex_def_04.dump
runtime/syntax/testdir/dumps/vim_ex_def_05.dump
runtime/syntax/testdir/dumps/vim_ex_def_06.dump
runtime/syntax/testdir/dumps/vim_ex_def_07.dump [new file with mode: 0644]
runtime/syntax/testdir/dumps/vim_ex_function_03.dump
runtime/syntax/testdir/dumps/vim_ex_function_04.dump
runtime/syntax/testdir/dumps/vim_ex_function_05.dump
runtime/syntax/testdir/dumps/vim_ex_function_06.dump
runtime/syntax/testdir/dumps/vim_ex_function_07.dump
runtime/syntax/testdir/dumps/vim_ex_function_08.dump
runtime/syntax/testdir/dumps/vim_ex_function_09.dump
runtime/syntax/testdir/dumps/vim_ex_function_10.dump
runtime/syntax/testdir/dumps/vim_ex_function_11.dump [new file with mode: 0644]
runtime/syntax/testdir/input/vim_ex_def.vim
runtime/syntax/testdir/input/vim_ex_function.vim
runtime/syntax/vim.vim

index 6d67d7b93c59ec45286363400684d2c553d73137..302eeb4e973d390c630292aa894f258a5a2f23f3 100644 (file)
@@ -2,7 +2,7 @@
 " Language:       Vim script
 " Maintainer:     Hirohito Higashi <h.east.727 ATMARK gmail.com>
 "         Doug Kearns <dougkearns@gmail.com>
-" Last Change:    2024 Oct 08
+" Last Change:    2024 Dec 21
 " Former Maintainer: Charles E. Campbell
 
 " DO NOT CHANGE DIRECTLY.
@@ -316,8 +316,8 @@ syn match   vimFuncSID      contained       "\<[sg]:"
 syn keyword    vimFuncKey      contained       fu[nction]
 syn keyword    vimDefKey       contained       def
 
-syn region     vimFuncParams   contained       matchgroup=Delimiter start="(" skip=+\n\s*\\\|\n\s*"\\ + end=")" skipwhite skipempty nextgroup=vimFuncBody,vimFuncComment,vimEndfunction,vimFuncMod,vim9CommentError    contains=vimFuncParam,@vimContinue
-syn region     vimDefParams    contained       matchgroup=Delimiter start="("             end=")" skipwhite skipempty nextgroup=vimDefBody,vimDefComment,vimEnddef,vimReturnType,vimCommentError       contains=vimDefParam,vim9Comment,vimFuncParamEquals
+syn region     vimFuncParams   contained       matchgroup=Delimiter start="(" skip=+\n\s*\\\|\n\s*"\\ + end=")" skipwhite skipempty nextgroup=vimFuncBody,vimFuncComment,vimEndfunction,vimFuncMod,vim9CommentError    contains=vimFuncParam,vimOperParen,@vimContinue
+syn region     vimDefParams    contained       matchgroup=Delimiter start="("             end=")" skipwhite skipempty nextgroup=vimDefBody,vimDefComment,vimEnddef,vimReturnType,vimCommentError       contains=vimDefParam,vim9Comment,vimFuncParamEquals,vimOperParen
 syn match      vimFuncParam    contained       "\<\h\w*\>\|\.\.\."     skipwhite nextgroup=vimFuncParamEquals
 syn match      vimDefParam     contained       "\<\h\w*\>"             skipwhite nextgroup=vimParamType,vimFuncParamEquals
 
index 2f7a15058139e449c39ef5235839b0e406f6582c..14cffbda0969fb3ad9b52eee7da70338c443849d 100644 (file)
@@ -17,4 +17,4 @@
 |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
-@57|3|7|,|0|-|1| @7|3|0|%| 
+@57|3|7|,|0|-|1| @7|2|8|%| 
index 463d1da43d2dc56e0e8a45fa64850ef7b9de6281..6ba5f46f89afa06d5dfdbe8b70267f338af50e1e 100644 (file)
@@ -17,4 +17,4 @@
 |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
-@57|5@1|,|3| @9|4|8|%| 
+@57|5@1|,|3| @9|4|5|%| 
index fec860f910d464ec9b68cce36e2ca5a22d9ccab4..c26f6669b4d3f7839908027413ff13818279612d 100644 (file)
@@ -17,4 +17,4 @@
 @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
-@57|7|3|,|0|-|1| @7|6|5|%| 
+@57|7|3|,|0|-|1| @7|6|2|%| 
index 8be9fd9d6fea35cd7df24c155d0af2e28004c852..931f9e7823ce86ce4a6138f95c6313801e06add9 100644 (file)
@@ -15,6 +15,6 @@
 @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
+|"+0#0000e05&| |I|s@1|u|e| |#|1|6|2|4|3| |(|v|i|m|s|c|r|i|p|t| |d|e|f| |p|a|r|a|m|e|t|e|r|s| |s|y|n|t|a|x| |h|i|g|h|l|i|g|h|t| |i|s| |w|r|o|n|g|)| +0#0000000&@7
 @75
-|"+0#0000e05&| |c|o|m@1|e|n|t|s| +0#0000000&@64
-@57|9|0|,|0|-|1| @7|8|2|%| 
+@57|9|0|,|0|-|1| @7|7|8|%| 
index 7436a3994be90b91d0917e67a7c0a6c62a20e793..edb15c74be06653e84dfe1e237c0f4f8c218aeb3 100644 (file)
@@ -1,9 +1,14 @@
-|"+0#0000e05#ffffff0| |c|o|m@1|e|n|t|s| +0#0000000&@64
+| +0&#ffffff0@74
+|d+0#af5f00255&|e|f| +0#0000000&|T|e|s|t|(+0#e000e06&|l+0#00e0e07&|i|n|e|s|:+0#0000000&| |l+0#00e0003&|i|s|t|<|n|u|m|b|e|r|>| +0#0000000&|=+0#af5f00255&| +0#0000000&|[|l+0#00e0e07&|i|n|e|(+0#e000e06&|'+0#e000002&|.|'|)+0#e000e06&|,+0#0000000&| |l+0#00e0e07&|i|n|e|(+0#e000e06&|'+0#e000002&|.|'|)+0#e000e06&|]+0#0000000&|)+0#e000e06&|:+0#0000000&| |v+0#00e0003&|o|i|d| +0#0000000&@14
+|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
+|e+0#af5f00255&|n|d@1|e|f| +0#0000000&@68
 @75
 @75
 |"+0#0000e05&| |l|e|a|d|i|n|g| |c|o|m@1|a|n|d| |s|e|p|a|r|a|t|o|r| +0#0000000&@47
@@ -12,9 +17,4 @@
 |e+0#af5f00255&|n|d@1|e|f| +0#0000000&@68
 @75
 @75
-|"+0#0000e05&| |c|o|m@1|a|n|d| |m|o|d|i|f|i|e|r|s| +0#0000000&@55
-@75
-|s+0#af5f00255&|i|l|e|n|t|!| +0#0000000&|d+0#af5f00255&|e|f| +0#0000000&|F|o@1|(+0#e000e06&|)| +0#0000000&@57
-|e+0#af5f00255&|n|d@1|e|f| +0#0000000&@68
-@75
-@57|1|0|8|,|1| @8|B|o|t| 
+@57|1|0|8|,|1| @8|9|5|%| 
diff --git a/runtime/syntax/testdir/dumps/vim_ex_def_07.dump b/runtime/syntax/testdir/dumps/vim_ex_def_07.dump
new file mode 100644 (file)
index 0000000..897c72b
--- /dev/null
@@ -0,0 +1,20 @@
+| +0&#ffffff0@74
+|"+0#0000e05&| |c|o|m@1|a|n|d| |m|o|d|i|f|i|e|r|s| +0#0000000&@55
+@75
+|s+0#af5f00255&|i|l|e|n|t|!| +0#0000000&|d+0#af5f00255&|e|f| +0#0000000&|F|o@1|(+0#e000e06&|)| +0#0000000&@57
+|e+0#af5f00255&|n|d@1|e|f| +0#0000000&@68
+> @74
+|~+0#4040ff13&| @73
+|~| @73
+|~| @73
+|~| @73
+|~| @73
+|~| @73
+|~| @73
+|~| @73
+|~| @73
+|~| @73
+|~| @73
+|~| @73
+|~| @73
+| +0#0000000&@56|1|2|6|,|0|-|1| @6|B|o|t| 
index 9c4e80bc8c3b3f67ee2cf0fb6b11e93cf3271672..8db514c816ee4d3afb04088ba83946befcf91cb0 100644 (file)
@@ -17,4 +17,4 @@
 @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|2|8|%| 
+@57|5@1|,|1| @9|2|7|%| 
index 16b36cf6eec0b994b3ae7c53889a95c8755da8ae..cf2287bc9e7d872742d50bd023ddfe1b9f79eb47 100644 (file)
@@ -17,4 +17,4 @@
 |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|3|8|%| 
+@57|7|3|,|1| @9|3|7|%| 
index 2cd4ce15886ea3c7144988f86505f98fe012bd8d..a7530754d4f58ff1069ccb5c41b59b7cd5ee8998 100644 (file)
@@ -17,4 +17,4 @@
 |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|4|8|%| 
+@57|9|1|,|0|-|1| @7|4|7|%| 
index aeae2a2d2f2f6de70bf61938538c55e1913299d4..06ff65673bf5fd97167abc2cbf50bce61edf80f8 100644 (file)
@@ -17,4 +17,4 @@
 |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|5|8|%| 
+@57|1|0|9|,|3| @8|5|7|%| 
index 06518a7e8d9cb1fe763f2a04b9eb000358534fe2..447f1446679c2df5aa3cc5d5095bc42de1188bf4 100644 (file)
@@ -17,4 +17,4 @@
 |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|6|9|%| 
+@57|1|2|7|,|1| @8|6|7|%| 
index 2bfa301684a417556170673505869874870fdc36..c9a2d06be569de52a148af565023b937df76b8dd 100644 (file)
@@ -17,4 +17,4 @@
 @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|7|9|%| 
+@57|1|4|5|,|1| @8|7@1|%| 
index 0445f2083fa4d58ca274367a8aae3aa2a133d92e..8a5019d50c715e3b9f17053b1bd663493e0af73e 100644 (file)
@@ -6,15 +6,15 @@
 @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&| |I|s@1|u|e| |#|1|6|2|4|3| |(|v|i|m|s|c|r|i|p|t| |d|e|f| |p|a|r|a|m|e|t|e|r|s| |s|y|n|t|a|x| |h|i|g|h|l|i|g|h|t| |i|s| |w|r|o|n|g|)| +0#0000000&@7
+@75
+|f+0#af5f00255&|u|n|c|t|i|o|n| +0#0000000&|T|e|s|t|(+0#e000e06&|l+0#00e0e07&|i|n|e|s| +0#0000000&|=+0#af5f00255&| +0#0000000&|[|l+0#00e0e07&|i|n|e|(+0#e000e06&|'+0#e000002&|.|'|)+0#e000e06&|,+0#0000000&| |l+0#00e0e07&|i|n|e|(+0#e000e06&|'+0#e000002&|.|'|)+0#e000e06&|]+0#0000000&|)+0#e000e06&| +0#0000000&@29
+|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
 @2|"+0#0000e05&| |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&| |c|o|m@1|a|n|d| |m|o|d|i|f|i|e|r|s| +0#0000000&@55
-@57|1|6|3|,|3| @8|8|9|%| 
+@57|1|6|3|,|3| @8|8|7|%| 
index ce12189c44286fb7bc5da3e821689a4e00bb95a8..b9ae9b1521e8c10eff421d9ecdf8a7257f0689dd 100644 (file)
@@ -1,9 +1,14 @@
-|"+0#0000e05#ffffff0| |c|o|m@1|a|n|d| |m|o|d|i|f|i|e|r|s| +0#0000000&@55
+| +0&#ffffff0@1|#| |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&| |c|o|m@1|a|n|d| |m|o|d|i|f|i|e|r|s| +0#0000000&@55
 @75
 |s+0#af5f00255&|i|l|e|n|t|!| +0#0000000&|f+0#af5f00255&|u|n|c|t|i|o|n| +0#0000000&|F|o@1|(+0#e000e06&|)| +0#0000000&@52
 |e+0#af5f00255&|n|d|f|u|n|c|t|i|o|n| +0#0000000&@63
 @75
-> @74
+@75
 |"+0#0000e05&| |l|e|a|d|i|n|g| |c|o|m@1|a|n|d| |s|e|p|a|r|a|t|o|r| +0#0000000&@47
 @75
 |e+0#af5f00255&|c|h|o| +0#0000000&|"+0#e000002&|F|o@1|"| +0#0000000&||| |f+0#af5f00255&|u|n|c|t|i|o|n| +0#0000000&|F|o@1|(+0#e000e06&|)| +0#0000000&@47
@@ -12,9 +17,4 @@
 @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
-@75
-@57|1|8|1|,|0|-|1| @6|B|o|t| 
+@57|1|8|1|,|1| @8|9|7|%| 
diff --git a/runtime/syntax/testdir/dumps/vim_ex_function_11.dump b/runtime/syntax/testdir/dumps/vim_ex_function_11.dump
new file mode 100644 (file)
index 0000000..62f65b4
--- /dev/null
@@ -0,0 +1,20 @@
+| +0&#ffffff0@74
+|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
+|~+0#4040ff13&| @73
+|~| @73
+|~| @73
+|~| @73
+|~| @73
+|~| @73
+|~| @73
+|~| @73
+|~| @73
+|~| @73
+|~| @73
+|~| @73
+|~| @73
+| +0#0000000&@56|1|9@1|,|0|-|1| @6|B|o|t| 
index 5b9e6ddd1d82935b686a5a1d484209f34828cbb4..d379d8f450e7eabfbb89bb85ce61ec6f2592080e 100644 (file)
@@ -99,6 +99,11 @@ def Foo(
     z: string = "zed")
 enddef
 
+" Issue #16243 (vimscript def parameters syntax highlight is wrong)
+
+def Test(lines: list<number> = [line('.'), line('.')]): void
+enddef
+
 
 " comments
 
index 7497ca88f7ed12ecb1909cc76fab5a1b9d9f0a2f..1b781913b834227b76812dddeff6f2c777c3c530 100644 (file)
@@ -163,6 +163,11 @@ function Foo(
   return 42
 endfunction
 
+" Issue #16243 (vimscript def parameters syntax highlight is wrong)
+
+function Test(lines = [line('.'), line('.')])
+endfunction
+
 
 " comments
 
index bcd4124f9fa4f623349bcc4437ec09507a87397b..d0295c3ceda16148263474dac5ec3cabdb013d0d 100644 (file)
@@ -2,7 +2,7 @@
 " Language:       Vim script
 " Maintainer:     Hirohito Higashi <h.east.727 ATMARK gmail.com>
 "         Doug Kearns <dougkearns@gmail.com>
-" Last Change:    2024 Dec 17
+" Last Change:    2024 Dec 21
 " Former Maintainer: Charles E. Campbell
 
 " DO NOT CHANGE DIRECTLY.
@@ -354,8 +354,8 @@ syn match   vimFuncSID      contained       "\<[sg]:"
 syn keyword    vimFuncKey      contained       fu[nction]
 syn keyword    vimDefKey       contained       def
 
-syn region     vimFuncParams   contained       matchgroup=Delimiter start="(" skip=+\n\s*\\\|\n\s*"\\ + end=")" skipwhite skipempty nextgroup=vimFuncBody,vimFuncComment,vimEndfunction,vimFuncMod,vim9CommentError    contains=vimFuncParam,@vimContinue
-syn region     vimDefParams    contained       matchgroup=Delimiter start="("             end=")" skipwhite skipempty nextgroup=vimDefBody,vimDefComment,vimEnddef,vimReturnType,vimCommentError       contains=vimDefParam,vim9Comment,vimFuncParamEquals
+syn region     vimFuncParams   contained       matchgroup=Delimiter start="(" skip=+\n\s*\\\|\n\s*"\\ + end=")" skipwhite skipempty nextgroup=vimFuncBody,vimFuncComment,vimEndfunction,vimFuncMod,vim9CommentError    contains=vimFuncParam,vimOperParen,@vimContinue
+syn region     vimDefParams    contained       matchgroup=Delimiter start="("             end=")" skipwhite skipempty nextgroup=vimDefBody,vimDefComment,vimEnddef,vimReturnType,vimCommentError       contains=vimDefParam,vim9Comment,vimFuncParamEquals,vimOperParen
 syn match      vimFuncParam    contained       "\<\h\w*\>\|\.\.\."     skipwhite nextgroup=vimFuncParamEquals
 syn match      vimDefParam     contained       "\<\h\w*\>"             skipwhite nextgroup=vimParamType,vimFuncParamEquals