mirror of
https://github.com/nushell/nushell
synced 2025-01-14 14:14:13 +00:00
Color escaped externals.
This commit is contained in:
parent
7d4fec4db3
commit
43cf52275b
1 changed files with 2 additions and 2 deletions
|
@ -726,8 +726,8 @@ impl FallibleColorSyntax for CommandHeadShape {
|
|||
|
||||
match atom.item {
|
||||
// If the head is an explicit external command (^cmd), color it as an external command
|
||||
AtomicToken::ExternalCommand { command } => {
|
||||
shapes.push(FlatShape::ExternalCommand.spanned(command));
|
||||
AtomicToken::ExternalCommand { .. } => {
|
||||
shapes.push(FlatShape::ExternalCommand.spanned(atom.span));
|
||||
Ok(CommandHeadKind::External)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue