mirror of
https://github.com/go-sylixos/elvish.git
synced 2024-12-15 20:17:50 +08:00
Color commands after ( and ?(
This commit is contained in:
parent
c3e9c77c13
commit
b0719d087c
|
@ -56,7 +56,8 @@ func (hl *Highlighter) run() {
|
|||
}
|
||||
command = false
|
||||
variable = false
|
||||
case parse.ItemSemicolon, parse.ItemPipe, parse.ItemEndOfLine:
|
||||
case parse.ItemSemicolon, parse.ItemPipe, parse.ItemEndOfLine,
|
||||
parse.ItemLParen, parse.ItemQuestionLParen:
|
||||
// NOTE ItemPipe can also be the pipe in {|a b| command...}
|
||||
command = true
|
||||
case parse.ItemDollar:
|
||||
|
|
Loading…
Reference in New Issue
Block a user