@@ -46,48 +46,53 @@ Possible modifiers:
47Possible keys:
47Possible keys:
49−| Key | Notes |
49+| Key | Notes |
50−| --- | --- |
50+| --- | --- |
51−| `attribute` | |
51+| `attribute` | |
52−| `keyword` | |
52+| `keyword` | |
53−| `keyword.directive` | Preprocessor directives (\#if in C) |
53+| `keyword.directive` | Preprocessor directives (\#if in C) |
54−| `namespace` | |
54+| `namespace` | |
55−| `punctuation` | |
55+| `punctuation` | |
56−| `punctuation.delimiter` | |
56+| `punctuation.delimiter` | |
57−| `operator` | |
57+| `operator` | |
58−| `special` | |
58+| `special` | |
59−| `property` | |
59+| `property` | |
60−| `variable` | |
60+| `variable` | |
61−| `variable.parameter` | |
61+| `variable.parameter` | |
62−| `type` | |
62+| `type` | |
63−| `type.builtin` | |
63+| `type.builtin` | |
64−| `constructor` | |
64+| `constructor` | |
65−| `function` | |
65+| `function` | |
66−| `function.macro` | |
66+| `function.macro` | |
67−| `function.builtin` | |
67+| `function.builtin` | |
68−| `comment` | |
68+| `comment` | |
69−| `variable.builtin` | |
69+| `variable.builtin` | |
70−| `constant` | |
70+| `constant` | |
71−| `constant.builtin` | |
71+| `constant.builtin` | |
72−| `string` | |
72+| `string` | |
73−| `number` | |
73+| `number` | |
74−| `escape` | Escaped characters |
74+| `escape` | Escaped characters |
75−| `label` | For lifetimes |
75+| `label` | For lifetimes |
76−| `module` | |
76+| `module` | |
77−| `ui.background` | |
77+| `ui.background` | |
79+| `ui.cursor.insert` | |
80+| `ui.cursor.select` | |
81+| `ui.cursor.match` | Matching bracket etc. |
78−| `ui.linenr` | |
82+| `ui.linenr` | |
79−| `ui.statusline` | |
84+| `ui.statusline.inactive` | |
80−| `ui.popup` | |
85+| `ui.popup` | |
81−| `ui.window` | |
86+| `ui.window` | |
82−| `ui.help` | |
87+| `ui.help` | |
83−| `ui.text` | |
88+| `ui.text` | |
84−| `ui.text.focus` | |
89+| `ui.text.focus` | |
85−| `ui.menu.selected` | |
90+| `ui.menu.selected` | |
86−| `ui.selection` | For selections in the editing area |
91+| `ui.selection` | For selections in the editing area |
87−| `warning` | LSP warning |
92+| `warning` | LSP warning |
88−| `error` | LSP error |
93+| `error` | LSP error |
89−| `info` | LSP info |
94+| `info` | LSP info |
90−| `hint` | LSP hint |
95+| `hint` | LSP hint |
92These keys match [tree-sitter scopes](https://tree-sitter.github.io/tree-sitter/syntax-highlighting#theme). We half-follow the common scopes from [macromates language grammars](https://macromates.com/manual/en/language_grammars) with some differences.
97These keys match [tree-sitter scopes](https://tree-sitter.github.io/tree-sitter/syntax-highlighting#theme). We half-follow the common scopes from [macromates language grammars](https://macromates.com/manual/en/language_grammars) with some differences.