mirror of
https://github.com/vim/vim.git
synced 2025-07-04 23:07:33 -04:00
18 lines
205 B
VimL
18 lines
205 B
VimL
|
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
|