Adding upstream version 2:9.1.1230.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
This commit is contained in:
parent
95f88d82e6
commit
0985b09abd
6270 changed files with 2000183 additions and 0 deletions
38
runtime/syntax/testdir/input/vim_ex_function_nested.vim
Normal file
38
runtime/syntax/testdir/input/vim_ex_function_nested.vim
Normal file
|
@ -0,0 +1,38 @@
|
|||
" Vim :def and :function commands (nested)
|
||||
|
||||
def FunA(): string
|
||||
def DoFunA(): string
|
||||
return "."
|
||||
enddef
|
||||
|
||||
return DoFunA()
|
||||
enddef
|
||||
|
||||
def FunB(): string
|
||||
function DoFunB()
|
||||
return ".."
|
||||
endfunction
|
||||
|
||||
return DoFunB()
|
||||
enddef
|
||||
|
||||
function FunC()
|
||||
def DoFunC(): string
|
||||
return "..."
|
||||
enddef
|
||||
|
||||
return DoFunC()
|
||||
endfunction
|
||||
|
||||
function FunD()
|
||||
function DoFunD()
|
||||
return "...."
|
||||
endfunction
|
||||
|
||||
return DoFunD()
|
||||
endfunction
|
||||
|
||||
echo FunA()
|
||||
echo FunB()
|
||||
echo FunC()
|
||||
echo FunD()
|
Loading…
Add table
Add a link
Reference in a new issue