From d479adfdc672b266ae5755bc7f5ad224017747c5 Mon Sep 17 00:00:00 2001 From: Jonatan Pettersson Date: Tue, 14 Mar 2023 03:53:38 +0100 Subject: Add undercurl config option #6196 (#6253) If set to 'true' this option will force terminal undercurl support.--- helix-view/src/editor.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'helix-view/src') diff --git a/helix-view/src/editor.rs b/helix-view/src/editor.rs index bbed58d6..7207baf3 100644 --- a/helix-view/src/editor.rs +++ b/helix-view/src/editor.rs @@ -263,6 +263,8 @@ pub struct Config { pub cursor_shape: CursorShapeConfig, /// Set to `true` to override automatic detection of terminal truecolor support in the event of a false negative. Defaults to `false`. pub true_color: bool, + /// Set to `true` to override automatic detection of terminal undercurl support in the event of a false negative. Defaults to `false`. + pub undercurl: bool, /// Search configuration. #[serde(default)] pub search: SearchConfig, @@ -737,6 +739,7 @@ impl Default for Config { statusline: StatusLineConfig::default(), cursor_shape: CursorShapeConfig::default(), true_color: false, + undercurl: false, search: SearchConfig::default(), lsp: LspConfig::default(), terminal: get_terminal_provider(), -- cgit v1.2.3-70-g09d2