We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ba665d commit 2c36e33Copy full SHA for 2c36e33
2 files changed
helix-term/src/ui/editor.rs
@@ -465,7 +465,8 @@ impl EditorView {
465
return;
466
}
467
468
- let starting_indent = (offset.col / tab_width) + config.indent_guides.skip_levels;
+ let starting_indent =
469
+ (offset.col / tab_width) + config.indent_guides.skip_levels as usize;
470
// TODO: limit to a max indent level too. It doesn't cause visual artifacts but it would avoid some
471
// extra loops if the code is deeply nested.
472
helix-view/src/editor.rs
@@ -558,7 +558,7 @@ impl Default for WhitespaceCharacters {
558
pub struct IndentGuidesConfig {
559
pub render: bool,
560
pub character: char,
561
- pub skip_levels: usize,
+ pub skip_levels: u8,
562
563
564
impl Default for IndentGuidesConfig {
0 commit comments