File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -465,7 +465,8 @@ impl EditorView {
465
465
return ;
466
466
}
467
467
468
- let starting_indent = ( offset. col / tab_width) + config. indent_guides . skip_levels ;
468
+ let starting_indent =
469
+ ( offset. col / tab_width) + config. indent_guides . skip_levels as usize ;
469
470
// TODO: limit to a max indent level too. It doesn't cause visual artifacts but it would avoid some
470
471
// extra loops if the code is deeply nested.
471
472
Original file line number Diff line number Diff line change @@ -558,7 +558,7 @@ impl Default for WhitespaceCharacters {
558
558
pub struct IndentGuidesConfig {
559
559
pub render : bool ,
560
560
pub character : char ,
561
- pub skip_levels : usize ,
561
+ pub skip_levels : u8 ,
562
562
}
563
563
564
564
impl Default for IndentGuidesConfig {
You can’t perform that action at this time.
0 commit comments