Shougo Matsu wrote: > I created the patch for adding default value argument feature. > I think this feature is useful to write Vim script. > > Below is vim script for testing the feature. > > ----------------------- > > echomsg getbufvar(1, 'foo', 'var') > echomsg getwinvar(1, 'foo', 'var') > echomsg gettabvar(1, 'foo', 'var') > echomsg gettabwinvar(1, 1, 'foo', 'var') > > ----------------------- > > If you applied the patch to Vim, you get "var" output. > I tested the patch in Vim 7.3.762 and it works.
Thanks, this looks useful. Instead of manual testing, it would be useful to have the tests in src/testdir. Vim is getting more and more complex, it's good to test every feature. -- hundred-and-one symptoms of being an internet addict: 207. You're given one phone call in prison and you ask them for a laptop. /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
