Mercurial > vim
diff runtime/doc/sign.txt @ 16930:1689b52cf297 v8.1.1466
patch 8.1.1466: not updating priority on existing sign
commit https://github.com/vim/vim/commit/58a7f87c8653b4cb5b0794b6b88e2ec140d3d2c3
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Jun 4 22:48:15 2019 +0200
patch 8.1.1466: not updating priority on existing sign
Problem: Not updating priority on existing sign.
Solution: Set the sign priority. Add a test. (Yegappan Lakshmanan)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 04 Jun 2019 23:00:06 +0200 |
parents | 0e473e9e70c2 |
children | d23afa4d8b63 |
line wrap: on
line diff
--- a/runtime/doc/sign.txt +++ b/runtime/doc/sign.txt @@ -182,9 +182,9 @@ See |sign_place()| for the equivalent Vi By default, the sign is assigned a default priority of 10. To assign a different priority value, use "priority={prio}" to - specify a value. The priority is used to determine the - highlight group used when multiple signs are placed on the - same line. + specify a value. The priority is used to determine the sign + that is displayed when multiple signs are placed on the same + line. Examples: > :sign place 5 line=3 name=sign1 file=a.py @@ -204,7 +204,9 @@ See |sign_place()| for the equivalent Vi it (e.g., when the debugger has stopped at a breakpoint). The optional "group={group}" attribute can be used before - "file=" to select a sign in a particular group. + "file=" to select a sign in a particular group. The optional + "priority={prio}" attribute can be used to change the priority + of an existing sign. :sign place {id} name={name} [buffer={nr}] Same, but use buffer {nr}. If the buffer argument is not