Add single tick string interpolation (#581)

* Add single tick string interpolation

* give string interpolation its own highlighting
This commit is contained in:
JT
2021-12-26 07:50:02 +11:00
committed by GitHub
parent d603086d2f
commit ca6baf7a46
8 changed files with 99 additions and 35 deletions

View File

@ -18,6 +18,7 @@ pub fn get_shape_color(shape: String, conf: &Config) -> Style {
"flatshape_operator" => Style::new().fg(Color::Yellow),
"flatshape_signature" => Style::new().fg(Color::Green).bold(),
"flatshape_string" => Style::new().fg(Color::Green),
"flatshape_string_interpolation" => Style::new().fg(Color::Cyan).bold(),
"flatshape_filepath" => Style::new().fg(Color::Cyan),
"flatshape_globpattern" => Style::new().fg(Color::Cyan).bold(),
"flatshape_variable" => Style::new().fg(Color::Purple),