Skip to content

Commit 5b8d8fd

Browse files
committed
updated for version 7.0131
1 parent ae5bce1 commit 5b8d8fd

66 files changed

Lines changed: 1775 additions & 600 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 98 additions & 121 deletions
Large diffs are not rendered by default.

runtime/doc/eval.txt

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4683,7 +4683,21 @@ instead of "s:" when the mapping is expanded outside of the script.
46834683
{name} can also be a Dictionary entry that is a
46844684
Funcref: >
46854685
:function dict.init
4686-
< *E124* *E125*
4686+
<
4687+
*:function-verbose*
4688+
When 'verbose' is non-zero, listing a function will also display where it was
4689+
last defined. Example: >
4690+
4691+
:verbose function SetFileTypeSH
4692+
function SetFileTypeSH(name)
4693+
Last set from /usr/share/vim/vim-7.0/filetype.vim
4694+
<
4695+
When the function was defined by hand there is no "Last set" message. When
4696+
the function was defined while executing a function, user command or
4697+
autocommand, the script in which it was defined is reported.
4698+
{not available when compiled without the +eval feature}
4699+
4700+
*E124* *E125*
46874701
:fu[nction][!] {name}([arguments]) [range] [abort] [dict]
46884702
Define a new function by the name {name}. The name
46894703
must be made of alphanumeric characters and '_', and

runtime/doc/map.txt

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*map.txt* For Vim version 7.0aa. Last change: 2005 Jul 21
1+
*map.txt* For Vim version 7.0aa. Last change: 2005 Aug 16
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -868,6 +868,20 @@ scripts.
868868

869869
:com[mand] {cmd} List the user-defined commands that start with {cmd}
870870

871+
*:command-verbose*
872+
When 'verbose' is non-zero, listing a command will also display where it was
873+
last defined. Example: >
874+
875+
:verbose command TOhtml
876+
Name Args Range Complete Definition
877+
TOhtml 0 % :call Convert2HTML(<line1>, <line2>)
878+
Last set from /usr/share/vim/vim-7.0/plugin/tohtml.vim
879+
<
880+
When the command was defined by hand there is no "Last set" message. When the
881+
command was defined while executing a function, user command or autocommand,
882+
the script in which it was defined is reported.
883+
{not available when compiled without the +eval feature}
884+
871885
*E174* *E182*
872886
:com[mand][!] [{attr}...] {cmd} {rep}
873887
Define a user command. The name of the command is
@@ -1069,8 +1083,7 @@ To allow commands to pass their arguments on to a user-defined function, there
10691083
is a special form <f-args> ("function args"). This splits the command
10701084
arguments at spaces and Tabs, quotes each argument individually, and the
10711085
<f-args> sequence is replaced by the comma-separated list of quoted arguments.
1072-
See the Mycmd example below. When there is no argument, <f-args> also has no
1073-
argument.
1086+
See the Mycmd example below. If no arguments are given <f-args> is removed.
10741087

10751088
Examples >
10761089

0 commit comments

Comments
 (0)