diff --git a/book/src/configuration.md b/book/src/configuration.md index cae9fb9fdd65b..49d27f59a05bf 100644 --- a/book/src/configuration.md +++ b/book/src/configuration.md @@ -56,6 +56,7 @@ on unix operating systems. | `rulers` | List of column positions at which to display the rulers. Can be overridden by language specific `rulers` in `languages.toml` file. | `[]` | | `bufferline` | Renders a line at the top of the editor displaying open buffers. Can be `always`, `never` or `multiple` (only shown if more than one buffer is in use) | `never` | | `color-modes` | Whether to color the mode indicator with different colors depending on the mode itself | `false` | +| `sticky-context` | Display context of current line if outside the view | `false` | ### `[editor.statusline]` Section @@ -109,12 +110,11 @@ The following statusline elements can be configured: ### `[editor.lsp]` Section -| Key | Description | Default | -| --- | ----------- | ------- | -| `display-messages` | Display LSP progress messages below statusline[^1] | `false` | -| `auto-signature-help` | Enable automatic popup of signature help (parameter hints) | `true` | -| `display-signature-help-docs` | Display docs under signature help popup | `true` | -| `context` | Display context of current line if outside the view | `false` | +| Key | Description | Default | +| --- | ----------- | ------- | +| `display-messages` | Display LSP progress messages below statusline[^1] | `false` | +| `auto-signature-help` | Enable automatic popup of signature help (parameter hints) | `true` | +| `display-signature-help-docs` | Display docs under signature help popup | `true` | [^1]: By default, a progress spinner is shown in the statusline beside the file path. diff --git a/helix-core/src/syntax.rs b/helix-core/src/syntax.rs index 0e17e6fba937c..5b58eb71ac23d 100644 --- a/helix-core/src/syntax.rs +++ b/helix-core/src/syntax.rs @@ -118,7 +118,7 @@ pub struct LanguageConfiguration { pub rulers: Option>, // if set, override editor's rulers - /// List of LSP nodes that should be displayed in the sticky context. + /// List of tree-sitter nodes that should be displayed in the sticky context. pub sticky_context_nodes: Option>, }