Skip to content

Commit

Permalink
suggestion: added style
Browse files Browse the repository at this point in the history
supports reverse highlighting using nu.config

```nushell
style: {
    text: white
    selected_text: {
        attr: r
    }
    description_text: white_dimmed
}
```
  • Loading branch information
rsteube committed Jan 24, 2024
1 parent 7adffd5 commit 6c18df1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/completion/base.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
use nu_ansi_term::Style;
use std::ops::Range;


/// A span of source code, with positions in bytes
#[derive(Debug, Default, Clone, Copy, PartialEq, Eq, Ord, PartialOrd, Hash)]
pub struct Span {
Expand Down

0 comments on commit 6c18df1

Please sign in to comment.