diff options
author | Gokul Soumya | 2022-03-28 01:11:52 +0000 |
---|---|---|
committer | GitHub | 2022-03-28 01:11:52 +0000 |
commit | 7b3a3d562cb46a1d70950983d460e388ae46cf79 (patch) | |
tree | c665b40feed4cc5986e0ec75be7538bac3451907 /book/src | |
parent | bee05dd32a685b58015514492525673b1b568b0d (diff) |
Move top level lsp config to editor.lsp (#1868)
* Move top level lsp config to editor.lsp
This is mainly done to accomodate the new lsp.signature-help config
option that will be introduced in https://github.com/helix-editor/helix/pull/1755
which will have to be accessed by commands. The top level config
struct is split and moved to different places, making the relocation
necessary
* Revert rebase slipup
Diffstat (limited to 'book/src')
-rw-r--r-- | book/src/configuration.md | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/book/src/configuration.md b/book/src/configuration.md index f110edd7..9036b501 100644 --- a/book/src/configuration.md +++ b/book/src/configuration.md @@ -43,6 +43,14 @@ hidden = false | `auto-info` | Whether to display infoboxes | `true` | | `true-color` | Set to `true` to override automatic detection of terminal truecolor support in the event of a false negative. | `false` | +### `[editor.lsp]` Section + +| Key | Description | Default | +| --- | ----------- | ------- | +| `display-messages` | Display LSP progress messages below statusline[^1] | `false` | + +[^1]: A progress spinner is always shown in the statusline beside the file path. + ### `[editor.cursor-shape]` Section Defines the shape of cursor in each mode. Note that due to limitations @@ -126,13 +134,3 @@ Search specific options. |--|--|---------| | `smart-case` | Enable smart case regex searching (case insensitive unless pattern contains upper case characters) | `true` | | `wrap-around`| Whether the search should wrap after depleting the matches | `true` | - - -## LSP - -To display all language server messages in the status line add the following to your `config.toml`: - -```toml -[lsp] -display-messages = true -``` |