Thursday, July 7, 2011

Is there any __FILE__, __FUNCTION__, __LINE__ equivalent for vim script?

For debug reason we often need to print the current script name,
function name and line number.

suppose vim script is a program, is it possible to get the current
script name and the current execution line in vim script? is there any
functions of macros to get them?

--
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

No comments: