aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2018-07-26 21:27:41 +0200
committerBjörn Linse <bjorn.linse@gmail.com>2018-08-13 13:35:35 +0200
commitfa4c2601000df2d792b0de865da3ac8c43ab723f (patch)
tree9048f5e4bf1a7aa06c24eade3f7b8f27fd9cacca /runtime
parentfab555e59c627b07e8a2d229d95737be7d6ce666 (diff)
downloadrneovim-fa4c2601000df2d792b0de865da3ac8c43ab723f.tar.gz
rneovim-fa4c2601000df2d792b0de865da3ac8c43ab723f.tar.bz2
rneovim-fa4c2601000df2d792b0de865da3ac8c43ab723f.zip
cursor_shape: use attribute ids instead of syntax ids
As attribute ids is the convention in the UI protocol Also remove non-threadsafe calls in tui.c to syntax module.
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/ui.txt9
1 files changed, 7 insertions, 2 deletions
diff --git a/runtime/doc/ui.txt b/runtime/doc/ui.txt
index 9d10756e23..51af11a2cd 100644
--- a/runtime/doc/ui.txt
+++ b/runtime/doc/ui.txt
@@ -89,13 +89,18 @@ Global Events *ui-global*
`cursor_shape`: "block", "horizontal", "vertical"
`cell_percentage`: Cell % occupied by the cursor.
`blinkwait`, `blinkon`, `blinkoff`: See |cursor-blinking|.
- `hl_id`: Cursor highlight group.
- `hl_lm`: Cursor highlight group if 'langmap' is active.
+ `attr_id`: Cursor attribute id (defined by `hl_attr_define`)
+ `attr_id_lm`: Cursor attribute id for when 'langmap' is active.
`short_name`: Mode code name, see 'guicursor'.
`name`: Mode descriptive name.
`mouse_shape`: (To be implemented.)
Some keys are missing in some modes.
+
+ The following keys are deprecated:
+
+ `hl_id`: Use `attr_id` instead.
+ `hl_lm`: Use `attr_id_lm` instead.
["option_set", name, value]
UI-related option changed, where `name` is one of: