Mercurial > vim
comparison runtime/doc/sign.txt @ 18615:c4cdc715cb68
Update runtime files
Commit: https://github.com/vim/vim/commit/574ee7bc1246070dba598f9561a2776aa1a10d07
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Nov 13 23:04:29 2019 +0100
Update runtime files
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 13 Nov 2019 23:15:04 +0100 |
parents | 834b7854aa3c |
children | 99586852c2db |
comparison
equal
deleted
inserted
replaced
18614:aa72fe337d7a | 18615:c4cdc715cb68 |
---|---|
1 *sign.txt* For Vim version 8.1. Last change: 2019 Sep 06 | 1 *sign.txt* For Vim version 8.1. Last change: 2019 Nov 12 |
2 | 2 |
3 | 3 |
4 VIM REFERENCE MANUAL by Gordon Prieur | 4 VIM REFERENCE MANUAL by Gordon Prieur |
5 and Bram Moolenaar | 5 and Bram Moolenaar |
6 | 6 |
46 *sign-column* | 46 *sign-column* |
47 When signs are defined for a file, Vim will automatically add a column of two | 47 When signs are defined for a file, Vim will automatically add a column of two |
48 characters to display them in. When the last sign is unplaced the column | 48 characters to display them in. When the last sign is unplaced the column |
49 disappears again. This behavior can be changed with the 'signcolumn' option. | 49 disappears again. This behavior can be changed with the 'signcolumn' option. |
50 | 50 |
51 The color of the column is set with the SignColumn group |hl-SignColumn|. | 51 The color of the column is set with the SignColumn highlight group |
52 Example to set the color: > | 52 |hl-SignColumn|. Example to set the color: > |
53 | 53 |
54 :highlight SignColumn guibg=darkgrey | 54 :highlight SignColumn guibg=darkgrey |
55 < | 55 < |
56 *sign-identifier* | 56 *sign-identifier* |
57 Each placed sign is identified by a number called the sign identifier. This | 57 Each placed sign is identified by a number called the sign identifier. This |
68 When placing a sign, if a group name is not supplied, or an empty string is | 68 When placing a sign, if a group name is not supplied, or an empty string is |
69 used, then the sign is placed in the global group. Otherwise the sign is | 69 used, then the sign is placed in the global group. Otherwise the sign is |
70 placed in the named group. The sign identifier is unique within a group. The | 70 placed in the named group. The sign identifier is unique within a group. The |
71 sign group allows Vim plugins to use unique signs without interfering with | 71 sign group allows Vim plugins to use unique signs without interfering with |
72 other plugins using signs. | 72 other plugins using signs. |
73 | |
74 The group name "popupmenu" is used by popup windows where 'cursorline' is set. | |
73 | 75 |
74 *sign-priority* | 76 *sign-priority* |
75 Each placed sign is assigned a priority value. When multiple signs are placed | 77 Each placed sign is assigned a priority value. When multiple signs are placed |
76 on the same line, the attributes of the sign with the highest priority is used | 78 on the same line, the attributes of the sign with the highest priority is used |
77 independent of the sign group. The default priority for a sign is 10. The | 79 independent of the sign group. The default priority for a sign is 10. The |