Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'helix-view/src/editor.rs')
-rw-r--r--helix-view/src/editor.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/helix-view/src/editor.rs b/helix-view/src/editor.rs
index b7b4c442..f559938a 100644
--- a/helix-view/src/editor.rs
+++ b/helix-view/src/editor.rs
@@ -551,6 +551,8 @@ pub struct LspConfig {
pub display_signature_help_docs: bool,
/// Display inlay hints
pub display_inlay_hints: bool,
+ /// Automatically highlight symbol references at the cursor.
+ pub auto_document_highlight: bool,
/// Maximum displayed length of inlay hints (excluding the added trailing `…`).
/// If it's `None`, there's no limit
pub inlay_hints_length_limit: Option<NonZeroU8>,
@@ -571,6 +573,7 @@ impl Default for LspConfig {
auto_signature_help: true,
display_signature_help_docs: true,
display_inlay_hints: false,
+ auto_document_highlight: false,
inlay_hints_length_limit: None,
snippets: true,
goto_reference_include_declaration: true,