diff options
author | Jonatan Pettersson | 2023-03-14 02:53:38 +0000 |
---|---|---|
committer | GitHub | 2023-03-14 02:53:38 +0000 |
commit | d479adfdc672b266ae5755bc7f5ad224017747c5 (patch) | |
tree | 2cbe34cd0344b27ea60110d3ae993c03516a5a89 /helix-view/src | |
parent | 3e03a1a99bc66a9b04dc293b9aa277ca4b7becae (diff) |
Add undercurl config option #6196 (#6253)
If set to 'true' this option will force terminal undercurl support.
Diffstat (limited to 'helix-view/src')
-rw-r--r-- | helix-view/src/editor.rs | 3 |
1 files changed, 3 insertions, 0 deletions
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(), |