pl
Size: a a a
pl
EG
V
EG
EG
YS
SB
pl
if !exists("s:did_load")When the script is first loaded "s:did_load" is not set. The commands between
command -nargs=* BNRead call BufNetRead(<f-args>)
map <F19> :call BufNetWrite('something')<CR>
let s:did_load = 1
exe 'au FuncUndefined BufNet* source ' .. expand('<sfile>')
finish
endif
function BufNetRead(...)
echo 'BufNetRead(' .. string(a:000) .. ')'
endfunction
function BufNetWrite(...)
echo 'BufNetWrite(' .. string(a:000) .. ')'
endfunction
pl
s:did_load
будет заданpl
YS
pl
pl
pl
pl
VG
SB
pl
pl
pl