> Do you vim script authors write tests for your code? how do you do unit > testing for your VimL code?
There are a few plugins around for that. Here are a few links (incomplete list): http://groups.google.com/group/vim_dev/browse_frm/thread/2d9463e7b167ce23/ca5ae493f061a8af http://code.google.com/p/lh-vim/wiki/UT https://github.com/dsummersl/vimunit http://www.vim.org/scripts/script.php?script_id=2565 http://www.vim.org/scripts/script.php?script_id=2213 My own: https://github.com/tomtom/spec_vim My own experience is though that most problems when writing vim scripts arise from unusual option values. Campbell wrote pluginkiller that tries to deal with this issue (http://www.vim.org/scripts/ script.php?script_id=1489) but this approach IMHO gets you only so far. Regard, Tom -- You received this message from the "vim_use" 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
