diff options
author | Ghjuvan Lacambre <code@lacamb.re> | 2020-05-01 16:34:28 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-01 07:34:28 -0700 |
commit | fe4383216b7a487d540172a9f5a4beade65056ba (patch) | |
tree | f0389e9bee01f468205e5a0d9c8b8ee61c0ce735 | |
parent | e5022c61ed769153dab5a91752c52a8f9ad3b504 (diff) | |
download | rneovim-fe4383216b7a487d540172a9f5a4beade65056ba.tar.gz rneovim-fe4383216b7a487d540172a9f5a4beade65056ba.tar.bz2 rneovim-fe4383216b7a487d540172a9f5a4beade65056ba.zip |
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
-rw-r--r-- | runtime/doc/ui.txt | 4 |
1 files changed, 3 insertions, 1 deletions
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. |