| `keyword.directive` | Preprocessor directives (\#if in C) |
| `keyword.directive` | Preprocessor directives (\#if in C) |
| `namespace` | |
| `namespace` | |
| `punctuation` | |
| `punctuation` | |
| `punctuation.delimiter` | |
| `punctuation.delimiter` | |
| `operator` | |
| `operator` | |
| `special` | |
| `special` | |
| `property` | |
| `property` | |
| `variable` | |
| `variable` | |
| `variable.parameter` | |
| `variable.parameter` | |
| `type` | |
| `type` | |
| `type.builtin` | |
| `type.builtin` | |
| `constructor` | |
| `constructor` | |
| `function` | |
| `function` | |
| `function.macro` | |
| `function.macro` | |
| `function.builtin` | |
| `function.builtin` | |
| `comment` | |
| `comment` | |
| `variable.builtin` | |
| `variable.builtin` | |
| `constant` | |
| `constant` | |
| `constant.builtin` | |
| `constant.builtin` | |
| `string` | |
| `string` | |
| `number` | |
| `number` | |
| `escape` | Escaped characters |
| `escape` | Escaped characters |
| `label` | For lifetimes |
| `label` | For lifetimes |
| `module` | |
| `module` | |
| `ui.background` | |
| `ui.background` | |
| `ui.linenr` | |
| `ui.cursor` | |
| `ui.statusline` | |
| `ui.cursor.insert` | |
| `ui.popup` | |
| `ui.cursor.select` | |
| `ui.window` | |
| `ui.cursor.match` | Matching bracket etc. |
| `ui.help` | |
| `ui.linenr` | |
| `ui.text` | |
| `ui.statusline` | |
| `ui.text.focus` | |
| `ui.statusline.inactive` | |
| `ui.menu.selected` | |
| `ui.popup` | |
| `ui.selection` | For selections in the editing area |
| `ui.window` | |
| `warning` | LSP warning |
| `ui.help` | |
| `error` | LSP error |
| `ui.text` | |
| `info` | LSP info |
| `ui.text.focus` | |
| `hint` | LSP hint |
| `ui.menu.selected` | |
| `ui.selection` | For selections in the editing area |
| `warning` | LSP warning |
| `error` | LSP error |
| `info` | LSP info |
| `hint` | LSP hint |
These 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.
These 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.