Skip to content

Commit e762756

Browse files
aaron404sudormrfbinlazytanukisbromberger
authored andcommitted
initial implementation of bufferline (helix-editor#2759)
* initial implementation of bufferline * fixed lint * changed to 'bufferline', added enum for config modes, some cleanup * fixed lint * added file modification indicator * removed redundant code, added proper themeing with fallback, changed 'file modified' indicator * remove commented code * Update helix-term/src/ui/editor.rs simplify text and offset computation Co-authored-by: Gokul Soumya <[email protected]> * add ui.bufferline.background key for themes Co-authored-by: lazytanuki <[email protected]> * address PR comments * Update helix-term/src/ui/editor.rs * simplify computation of editor area: * change to set_stringn to avoid overflow * Update configuration.md Updates documentation to reflect decision re: defaulting to never showing bufferline. * addressed pr comments * fix build error * address pr comments * revert accidental change Co-authored-by: Gokul Soumya <[email protected]> Co-authored-by: lazytanuki <[email protected]> Co-authored-by: Seth Bromberger <[email protected]>
1 parent 89e265e commit e762756

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

helix-term/src/ui/editor.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ use helix_core::{
1616
LineEnding, Position, Range, Selection, Transaction,
1717
};
1818
use helix_view::{
19-
document::Mode,
19+
document::{Mode, SCRATCH_BUFFER_NAME},
2020
editor::{CompleteAction, CursorShapeConfig},
2121
graphics::{Color, CursorKind, Modifier, Rect, Style},
2222
input::{KeyEvent, MouseButton, MouseEvent, MouseEventKind},

0 commit comments

Comments
 (0)