Fix list and table print (#652)

* Fix list printing

* Fix list and table highlighting
This commit is contained in:
JT
2022-01-03 14:18:23 +11:00
committed by GitHub
parent 850f66aa9d
commit 9535e2c309
4 changed files with 109 additions and 10 deletions

View File

@ -19,6 +19,8 @@ pub fn get_shape_color(shape: String, conf: &Config) -> Style {
"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_list" => Style::new().fg(Color::Cyan).bold(),
"flatshape_table" => Style::new().fg(Color::Blue).bold(),
"flatshape_filepath" => Style::new().fg(Color::Cyan),
"flatshape_globpattern" => Style::new().fg(Color::Cyan).bold(),
"flatshape_variable" => Style::new().fg(Color::Purple),