Additions to 'themes' section of docs (#2098)

* Added more descriptions to the themes part of the docs

* Add more descriptions to themes section of the docs

* capitalised first letters of descriptions in docs

Co-authored-by: Joe Mckay <jm@pop-os.localdomain>
This commit is contained in:
nosa 2022-04-15 01:58:16 +01:00 committed by GitHub
parent 460e6a857b
commit 893963df0a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -205,32 +205,32 @@ These scopes are used for theming the editor interface.
- `hover` - for hover popup ui - `hover` - for hover popup ui
| Key | Notes | | Key | Notes |
| --- | --- | | --- | --- |
| `ui.background` | | | `ui.background` | |
| `ui.cursor` | | | `ui.cursor` | |
| `ui.cursor.insert` | | | `ui.cursor.insert` | |
| `ui.cursor.select` | | | `ui.cursor.select` | |
| `ui.cursor.match` | Matching bracket etc. | | `ui.cursor.match` | Matching bracket etc. |
| `ui.cursor.primary` | Cursor with primary selection | | `ui.cursor.primary` | Cursor with primary selection |
| `ui.linenr` | | | `ui.linenr` | Line numbers |
| `ui.linenr.selected` | | | `ui.linenr.selected` | Line number for the line the cursor is on |
| `ui.statusline` | Statusline | | `ui.statusline` | Statusline |
| `ui.statusline.inactive` | Statusline (unfocused document) | | `ui.statusline.inactive` | Statusline (unfocused document) |
| `ui.popup` | | | `ui.popup` | Documentation popups (e.g space-k) |
| `ui.popup.info` | | | `ui.popup.info` | Prompt for multiple key options |
| `ui.window` | | | `ui.window` | Border lines separating splits |
| `ui.help` | | | `ui.help` | Description box for commands |
| `ui.text` | | | `ui.text` | Command prompts, popup text, etc. |
| `ui.text.focus` | | | `ui.text.focus` | |
| `ui.text.info` | | | `ui.text.info` | The key: command text in `ui.popup.info` boxes |
| `ui.menu` | | | `ui.menu` | Code and command completion menus |
| `ui.menu.selected` | | | `ui.menu.selected` | Selected autocomplete item |
| `ui.selection` | For selections in the editing area | | `ui.selection` | For selections in the editing area |
| `ui.selection.primary` | | | `ui.selection.primary` | |
| `warning` | Diagnostics warning (gutter) | | `warning` | Diagnostics warning (gutter) |
| `error` | Diagnostics error (gutter) | | `error` | Diagnostics error (gutter) |
| `info` | Diagnostics info (gutter) | | `info` | Diagnostics info (gutter) |
| `hint` | Diagnostics hint (gutter) | | `hint` | Diagnostics hint (gutter) |
| `diagnostic` | For text in editing area | | `diagnostic` | For text in editing area |