From ed74e6d5d405dd37e067c5fd41e2ae908da22a3c Mon Sep 17 00:00:00 2001 From: A-Walrus Date: Sun, 21 Aug 2022 07:54:02 +0300 Subject: Switch to `tabpad` configuration option (#3458) Virtual whitespace tabs are created from the `tab` character padded with `tabpad` up to the tab width.--- helix-view/src/editor.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'helix-view/src') diff --git a/helix-view/src/editor.rs b/helix-view/src/editor.rs index 1e7f508c..18c2a343 100644 --- a/helix-view/src/editor.rs +++ b/helix-view/src/editor.rs @@ -438,6 +438,7 @@ pub struct WhitespaceCharacters { pub space: char, pub nbsp: char, pub tab: char, + pub tabpad: char, pub newline: char, } @@ -448,6 +449,7 @@ impl Default for WhitespaceCharacters { nbsp: '⍽', // U+237D tab: '→', // U+2192 newline: '⏎', // U+23CE + tabpad: ' ', } } } -- cgit v1.2.3-70-g09d2