Finish making the textview plugin optional

This commit is contained in:
Jonathan Turner
2019-12-05 05:28:48 +13:00
parent 35edf22ac3
commit cfda67ff82
4 changed files with 6 additions and 4 deletions

View File

@ -10,7 +10,6 @@ edition = "2018"
syntect = { version = "3.2.0" }
ansi_term = "0.12.1"
crossterm = { version = "0.10.2" }
nu = { path = "../.." }
nu-protocol = { path = "../nu-protocol" }
nu-source = { path = "../nu-source" }
nu-errors = { path = "../nu-errors" }

View File

@ -1,8 +1,9 @@
use crossterm::{cursor, terminal, RawScreen};
use crossterm::{InputEvent, KeyEvent};
use nu::Plugin;
use nu_errors::ShellError;
use nu_protocol::{outln, serve_plugin, CallInfo, Primitive, Signature, UntaggedValue, Value};
use nu_protocol::{
outln, serve_plugin, CallInfo, Plugin, Primitive, Signature, UntaggedValue, Value,
};
use nu_source::AnchorLocation;
use syntect::easy::HighlightLines;