|
|
@ -1,5 +1,5 @@
|
|
|
|
use clap::ArgMatches as Args;
|
|
|
|
use clap::ArgMatches as Args;
|
|
|
|
use helix_core::{state::Mode, syntax::HighlightEvent, Range, State};
|
|
|
|
use helix_core::{indent::TAB_WIDTH, state::Mode, syntax::HighlightEvent, Range, State};
|
|
|
|
use helix_view::{commands, keymap, View};
|
|
|
|
use helix_view::{commands, keymap, View};
|
|
|
|
|
|
|
|
|
|
|
|
use std::{
|
|
|
|
use std::{
|
|
|
@ -24,8 +24,6 @@ use crossterm::{
|
|
|
|
|
|
|
|
|
|
|
|
use tui::{backend::CrosstermBackend, buffer::Buffer as Surface, layout::Rect, style::Style};
|
|
|
|
use tui::{backend::CrosstermBackend, buffer::Buffer as Surface, layout::Rect, style::Style};
|
|
|
|
|
|
|
|
|
|
|
|
const TAB_WIDTH: usize = 4;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
type Terminal = tui::Terminal<CrosstermBackend<std::io::Stdout>>;
|
|
|
|
type Terminal = tui::Terminal<CrosstermBackend<std::io::Stdout>>;
|
|
|
|
|
|
|
|
|
|
|
|
static EX: smol::Executor = smol::Executor::new();
|
|
|
|
static EX: smol::Executor = smol::Executor::new();
|
|
|
|