diff options
Diffstat (limited to 'runtime/syntax/testdir/input/vim_new.vim')
-rw-r--r-- | runtime/syntax/testdir/input/vim_new.vim | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/runtime/syntax/testdir/input/vim_new.vim b/runtime/syntax/testdir/input/vim_new.vim new file mode 100644 index 0000000000..985cfd3c11 --- /dev/null +++ b/runtime/syntax/testdir/input/vim_new.vim @@ -0,0 +1,17 @@ +vim9script + +# Vim :new command and class constructors. +class Test + def new() + enddef + def newOther() + enddef + def newyetanother() + enddef +endclass + +Test.new() +Test.newOther() +Test.newyetanother() +new +quit |