Early work on scripting features
This commit is contained in:
@@ -65,6 +65,7 @@ impl Highlighter for FernReadline {
|
||||
|
||||
impl Validator for FernReadline {
|
||||
fn validate(&self, ctx: &mut rustyline::validate::ValidationContext) -> rustyline::Result<rustyline::validate::ValidationResult> {
|
||||
return Ok(ValidationResult::Valid(None));
|
||||
let mut tokens = vec![];
|
||||
let tk_stream = LexStream::new(ctx.input(), LexFlags::empty());
|
||||
for tk in tk_stream {
|
||||
|
||||
Reference in New Issue
Block a user