On Tue, Jul 4, 2023 at 1:11 PM Lifepillar <lifepillar@lifepillar.me> wrote:
>
> On 2023-07-04, Nicolas <nivaemail@gmail.com> wrote:
> > Hi,
> >
> > Is there an equivalence in vim9 of __FILE__, __LINE__, and __FUNCTION__
> > usage in C++
> ><https://stackoverflow.com/questions/597078/file-line-and-function-usage-in-c>
>
>
> For __LINE__ and __FUNCTION__, I don't know what "equivalent"
> alternative to suggest, but if you elaborate on what your goal is, it
> will be easier to help.
>
You can try using <script>, <sflnum> or <stack>:
https://vimhelp.org/cmdline.txt.html#%3Cscript%3E
https://vimhelp.org/cmdline.txt.html#%3Csflnum%3E
https://vimhelp.org/cmdline.txt.html#%3Cstack%3E
- Yegappan
--
--
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
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/CAAW7x7nzga3%3D6GunyEWNQdOQus%2BKygK%3Db-y2BtgW3Kt1c132WA%40mail.gmail.com.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment