Excerpts from Britton Kerin's message of Tue Nov 23 01:54:15 +0100 2010:
> I like to debug C using these.  Does vim have some equivalent?

Keind of

:echo expand("<sfile>")

It corresponds to __FILE__ only.
But you can add special markers such as
" marke:234
and count lines yourself.

Maybe there is a __LINE__ like thing - but I don't know about it then.

In perl you can load other .pl files as well somehow?

So I suggest moving your perl code into additional files loading them
within Vim for two reasons
  - error reporting
  - coding (you get .pl filetype, syntax etc)

I only know the very very basics about perl so I have no clue which
would be the way to load the external files.

I added a VimLGotoLastError to the vim-dev-plugin some time ago.
Maybe reading the output of messages interpreting the errors making Vim
jump to the location is an option for you as well?

Marc Weber

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

Raspunde prin e-mail lui