From fe4383216b7a487d540172a9f5a4beade65056ba Mon Sep 17 00:00:00 2001 From: Ghjuvan Lacambre Date: Fri, 1 May 2020 16:34:28 +0200 Subject: [PATCH] doc/UI: mode_info_set: mention colors should be swapped #12211 When attr_id is 0, the cursor's colors should be swapped, otherwise the cursor might be invisible. Closes #12198 --- runtime/doc/ui.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/runtime/doc/ui.txt b/runtime/doc/ui.txt index b243d9ba50..2817c1015b 100644 --- a/runtime/doc/ui.txt +++ b/runtime/doc/ui.txt @@ -161,7 +161,9 @@ the editor. `cursor_shape`: "block", "horizontal", "vertical" `cell_percentage`: Cell % occupied by the cursor. `blinkwait`, `blinkon`, `blinkoff`: See |cursor-blinking|. - `attr_id`: Cursor attribute id (defined by `hl_attr_define`) + `attr_id`: Cursor attribute id (defined by `hl_attr_define`). + When attr_id is 0, the background and foreground + colors should be swapped. `attr_id_lm`: Cursor attribute id for when 'langmap' is active. `short_name`: Mode code name, see 'guicursor'. `name`: Mode descriptive name.