cli: fix syntax highlighting
There was mishap in updating the parameters of highlight configuration – so many string types!
This is fixed by adding the correct name parameter, reusing the language
variable that is being matched on.
3 files changed
+16
-16
7ed72ec9
→
d9c76893
modified Cargo.lock
@@ -1903,7 +1903,7 @@ dependencies = [
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -2153,7 +2153,7 @@ version = "0.9.0"
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-cli/Cargo.toml
@@ -3,7 +3,7 @@ name = "radicle-cli"
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-cli/src/terminal/highlight.rs
@@ -221,130 +221,130 @@ impl Highlighter {
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
| - | |
|
|
|
|
|
|
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
| - | |
|
|
|
|
|
|
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
| - | |
|
|
|
|
|
|
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
| - | |
|
|
|
|
|
|
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
| - | |
|
|
|
|
|
|
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
| - | |
|
|
|
|
|
|
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
| - | |
|
|
|
|
|
|
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
| - | |
|
|
|
|
|
|
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
| - | |
|
|
|
|
|
|
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
| - | |
|
|
|
|
|
|
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
| - | |
|
|
|
|
|
|
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
| - | |
|
|
|
|
|
|
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
| - | |
|
|
|
|
|