|
|
|
@ -341,13 +341,13 @@ wrap-indicator = "" # set wrap-indicator to "" to hide it
|
|
|
|
|
|
|
|
|
|
### `[editor.sticky-context]` Section
|
|
|
|
|
|
|
|
|
|
Option for sticky context, which is a feature that sticks bigger blocks of code
|
|
|
|
|
Option for sticky context, which is a feature that puts bigger blocks of code
|
|
|
|
|
e.g. Functions to the top of the viewport
|
|
|
|
|
|
|
|
|
|
| Key | Description | Default |
|
|
|
|
|
| --- | --- | --- |
|
|
|
|
|
| `enable` | Display context of current line if outside the view | `false` |
|
|
|
|
|
| `indicator` | Display an additional node to indicate what part of the view is the sticky context | `false` |
|
|
|
|
|
| `indicator` | Display an additional line to indicate what part of the view is the sticky context | `false` |
|
|
|
|
|
| `max-lines` | The maximum number of lines to be shown as sticky context. 0 = 1/3 of the viewports height | `0` |
|
|
|
|
|
|
|
|
|
|
Example:
|
|
|
|
|