summaryrefslogtreecommitdiffstats
path: root/runtime/doc/sign.txt
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-08-14 21:25:52 +0200
committerBram Moolenaar <Bram@vim.org>2021-08-14 21:25:52 +0200
commit6aa57295cfbe8f21c15f0671e45fd53cf990d404 (patch)
tree21d5b91f8af47cf5cecea7b615cd84a65a108c30 /runtime/doc/sign.txt
parentbfb2bb16bc69441fa3ec13caacb2c94637a8a0ec (diff)
Update runtime files
Diffstat (limited to 'runtime/doc/sign.txt')
-rw-r--r--runtime/doc/sign.txt22
1 files changed, 11 insertions, 11 deletions
diff --git a/runtime/doc/sign.txt b/runtime/doc/sign.txt
index 66f8cc61bd..64f54dbd82 100644
--- a/runtime/doc/sign.txt
+++ b/runtime/doc/sign.txt
@@ -451,13 +451,13 @@ sign_getdefined([{name}]) *sign_getdefined()*
Can also be used as a |method|: >
GetSignList()->sign_getdefined()
-sign_getplaced([{expr} [, {dict}]]) *sign_getplaced()*
+sign_getplaced([{buf} [, {dict}]]) *sign_getplaced()*
Return a list of signs placed in a buffer or all the buffers.
This is similar to the |:sign-place-list| command.
- If the optional buffer name {expr} is specified, then only the
+ If the optional buffer name {buf} is specified, then only the
list of signs placed in that buffer is returned. For the use
- of {expr}, see |bufname()|. The optional {dict} can contain
+ of {buf}, see |bufname()|. The optional {dict} can contain
the following entries:
group select only signs in this group
id select sign with this identifier
@@ -515,12 +515,12 @@ sign_getplaced([{expr} [, {dict}]]) *sign_getplaced()*
GetBufname()->sign_getplaced()
<
*sign_jump()*
-sign_jump({id}, {group}, {expr})
- Open the buffer {expr} or jump to the window that contains
- {expr} and position the cursor at sign {id} in group {group}.
+sign_jump({id}, {group}, {buf})
+ Open the buffer {buf} or jump to the window that contains
+ {buf} and position the cursor at sign {id} in group {group}.
This is similar to the |:sign-jump| command.
- For the use of {expr}, see |bufname()|.
+ For the use of {buf}, see |bufname()|.
Returns the line number of the sign. Returns -1 if the
arguments are invalid.
@@ -533,9 +533,9 @@ sign_jump({id}, {group}, {expr})
GetSignid()->sign_jump()
<
*sign_place()*
-sign_place({id}, {group}, {name}, {expr} [, {dict}])
+sign_place({id}, {group}, {name}, {buf} [, {dict}])
Place the sign defined as {name} at line {lnum} in file or
- buffer {expr} and assign {id} and {group} to sign. This is
+ buffer {buf} and assign {id} and {group} to sign. This is
similar to the |:sign-place| command.
If the sign identifier {id} is zero, then a new identifier is
@@ -546,12 +546,12 @@ sign_place({id}, {group}, {name}, {expr} [, {dict}])
and |sign-group| for more information.
{name} refers to a defined sign.
- {expr} refers to a buffer name or number. For the accepted
+ {buf} refers to a buffer name or number. For the accepted
values, see |bufname()|.
The optional {dict} argument supports the following entries:
lnum line number in the file or buffer
- {expr} where the sign is to be placed.
+ {buf} where the sign is to be placed.
For the accepted values, see |line()|.
priority priority of the sign. See
|sign-priority| for more information.