Bram,

could we add help tags for the [range] [abort] [dict] arguments of
:function? Perhaps in the style of these tags?

    :map-<silent> :map-<buffer> :map-<unique> ...
    :syn-keepend :syn-oneline :syn-skipwhite ...

Thank you for your consideration.

Best,



diff -r 2f856c7c1d43 runtime/doc/eval.txt
--- a/runtime/doc/eval.txt    Sun Dec 15 10:02:33 2013 +0100
+++ b/runtime/doc/eval.txt    Sat Jan 04 11:05:09 2014 +0100
@@ -6639,7 +6639,7 @@

             For the {arguments} see |function-argument|.

-                        *a:firstline* *a:lastline*
+                      *:func-range* *a:firstline* *a:lastline*
             When the [range] argument is added, the function is
             expected to take care of a range itself.  The range is
             passed as "a:firstline" and "a:lastline".  If [range]
@@ -6648,10 +6648,10 @@
             of each line.  See |function-range-example|.
             The cursor is still moved to the first line of the
             range, as is the case with all Ex commands.
-
+                        *:func-abort*
             When the [abort] argument is added, the function will
             abort as soon as an error is detected.
-
+                        *:func-dict*
             When the [dict] argument is added, the function must
             be invoked through an entry in a |Dictionary|.    The
             local variable "self" will then be set to the

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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Raspunde prin e-mail lui