Improve highlighting

This commit is contained in:
Yehuda Katz
2019-05-31 09:33:46 -07:00
parent 9e9c0b9811
commit b319381d84
4 changed files with 102 additions and 113 deletions

View File

@ -116,7 +116,7 @@ fn token_style(
(State::Var, Variable) => (Color::Yellow.bold(), State::None),
(State::Bare, Dot) => (Color::Green.normal(), State::Bare),
(State::Bare, PathDot) => (Color::Green.normal(), State::Bare),
(State::Bare, Member) => (Color::Green.normal(), State::Bare),
(_, Dash) | (_, DashDash) => (Color::Black.bold(), State::Flag),