Re: Calling a vim9script function with a range

Russell Shaw <[email protected]> Wed, 23 Jul 2025 18:00:49 +1000
Newsgroups gmane.editors.vim
Message-ID <[email protected]>
On 23/7/25 07:03, Lifepillar wrote:
> On 2025-07-21, 'Russell Shaw' via vim_use <[email protected]> wrote:
>> Hi,
>>
>> In "Comment()", how can i tell if the mapping "\c" was called with a visual
>> range or not ?
...

> Depending on your goal, you may also want to look at Vim's comment
> plugin at $VIMRUNTIME/pack/dist/opt/comment.

Hi all, i was trying to port a comment function i was using in legacy 
script. Thanks for the ideas. I'll look at that plugin.

-- 
-- 
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 [email protected].
To view this discussion visit https://groups.google.com/d/msgid/vim_use/6989a6ed-97a6-401e-9447-19a2d2109303%40gmail.com.