forked from aniani/vim
runtime(vim): Update base-syntax, improve :map highlighting
Match :map ( RHS properly. Only match ! after :map, :noremap, :unmap and :mapclear. closes: #15297 Signed-off-by: Doug Kearns <dougkearns@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
1165f7850b
commit
99984fc58a
51
runtime/syntax/testdir/input/vim_ex_call.vim
Normal file
51
runtime/syntax/testdir/input/vim_ex_call.vim
Normal file
@@ -0,0 +1,51 @@
|
||||
" Vim :call command
|
||||
|
||||
|
||||
" functions for which there are same-named Ex commands
|
||||
|
||||
call browse(save, title, initdir, default)
|
||||
call call(func, arglist, dict)
|
||||
call chdir(dir)
|
||||
call confirm(msg, choices, default, type)
|
||||
call copy(expr)
|
||||
call delete(fname, flags)
|
||||
call eval(string)
|
||||
call execute(command)
|
||||
call filter(expr1, expr2)
|
||||
call function(name, arglist, dict)
|
||||
call insert(object, item, idx)
|
||||
call join(list, sep)
|
||||
call map(expr1, expr2)
|
||||
call match(expr, pat, start, count)
|
||||
call mode(expr)
|
||||
call sort(list, how, dict)
|
||||
call split(string, pattern, keepempty)
|
||||
call substitute(str, pat, sub, flags)
|
||||
call swapname(buf)
|
||||
|
||||
call browse (save, title, initdir, default)
|
||||
call call (func, arglist, dict)
|
||||
call chdir (dir)
|
||||
call confirm (msg, choices, default, type)
|
||||
call copy (expr)
|
||||
call delete (fname, flags)
|
||||
call eval (string)
|
||||
call execute (command)
|
||||
call filter (expr1, expr2)
|
||||
call function (name, arglist, dict)
|
||||
call insert (object, item, idx)
|
||||
call join (list, sep)
|
||||
call map (expr1, expr2)
|
||||
call match (expr, pat, start, count)
|
||||
call mode (expr)
|
||||
call sort (list, how, dict)
|
||||
call split (string, pattern, keepempty)
|
||||
call substitute (str, pat, sub, flags)
|
||||
call swapname (buf)
|
||||
|
||||
call Foo()
|
||||
call Foo(arg1)
|
||||
call Foo(arg1, arg2)
|
||||
|
||||
let res = call(func, arglist, dict)
|
||||
let res = call (func, arglist, dict)
|
||||
Reference in New Issue
Block a user