> results in this being printed: > > function A > function A..B > function A..B..C > > So, you can easily make a function yourself returning the callstack, > something like: > > function! CallStack() > return split(substitute(expand("<sfile>"), '^\S\+\s', '', ''), '\.\.') > endfunction
That's cool; I didn't realise <sfile> behaved like that. But what I was envisaging was something richer, i.e. with line numbers and source file as Chip had suggested. Ben. Send instant messages to your online friends http://au.messenger.yahoo.com --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_dev" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---