diff --git a/src/completion/base.rs b/src/completion/base.rs index 3de63c8d..ed4be1c6 100644 --- a/src/completion/base.rs +++ b/src/completion/base.rs @@ -1,3 +1,5 @@ +use nu_ansi_term::Style; + /// A span of source code, with positions in bytes #[derive(Debug, Default, Clone, Copy, PartialEq, Eq, Ord, PartialOrd, Hash)] pub struct Span { @@ -60,6 +62,8 @@ pub struct Suggestion { pub value: String, /// Optional description for the replacement pub description: Option, + /// Optional style for the value + pub style: Option