comparison runtime/doc/sign.txt @ 26304:bb2175e5ccee

Update runtime files. Commit: https://github.com/vim/vim/commit/6304be625ce44dcfedc6735164d0b853578581c8 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Nov 27 10:57:26 2021 +0000 Update runtime files.
author Bram Moolenaar <Bram@vim.org>
date Sat, 27 Nov 2021 12:00:09 +0100
parents 365e7f083f02
children c725b8e17f1f
comparison
equal deleted inserted replaced
26303:0507d47d769f 26304:bb2175e5ccee
146 and they must occupy one or two display cells. 146 and they must occupy one or two display cells.
147 147
148 texthl={group} 148 texthl={group}
149 Highlighting group used for the text item. 149 Highlighting group used for the text item.
150 150
151 culhl={group}
152 Highlighting group used for the text item when the cursor is
153 on the same line as the sign and 'cursorline' is enabled.
154
151 Example: > 155 Example: >
152 :sign define MySign text=>> texthl=Search linehl=DiffText 156 :sign define MySign text=>> texthl=Search linehl=DiffText
153 < 157 <
154 158
155 DELETING A SIGN *:sign-undefine* *E155* 159 DELETING A SIGN *:sign-undefine* *E155*
171 :sign list Lists all defined signs and their attributes. 175 :sign list Lists all defined signs and their attributes.
172 176
173 :sign list {name} 177 :sign list {name}
174 Lists one defined sign and its attributes. 178 Lists one defined sign and its attributes.
175 179
176 culhl={group}
177 Highlighting group used for the text item when the cursor is
178 on the same line as the sign and 'cursorline' is enabled.
179
180 Example: >
181 :sign define MySign text=>> texthl=Search linehl=DiffText
182 <
183 180
184 PLACING SIGNS *:sign-place* *E158* 181 PLACING SIGNS *:sign-place* *E158*
185 182
186 See |sign_place()| for the equivalent Vim script function. 183 See |sign_place()| for the equivalent Vim script function.
187 184