'main': Try the "non-command word" codepath when a word may be either a command word or a non-command word.
Merge remote-tracking branch 'upstream/pr/331' * upstream/pr/331: 'main': Try the "non-command word" codepath when a word may be either a command word or a non-command word.
This commit is contained in:
@@ -32,5 +32,5 @@ BUFFER='A=(hello world) ls'
|
||||
expected_region_highlight=(
|
||||
"1 3 assign" # A=(
|
||||
"15 15 assign" # )
|
||||
"17 18 command 'issue #330'" # ls
|
||||
"17 18 command" # ls
|
||||
)
|
||||
|
||||
@@ -32,5 +32,5 @@ BUFFER='A=(hello world) b=42'
|
||||
expected_region_highlight=(
|
||||
"1 3 assign" # A=(
|
||||
"15 15 assign" # )
|
||||
"17 20 assign 'issue #330'" # b=42
|
||||
"17 20 assign" # b=42
|
||||
)
|
||||
|
||||
@@ -32,5 +32,5 @@ BUFFER='(A=1)'
|
||||
expected_region_highlight=(
|
||||
"1 1 reserved-word" # (
|
||||
"2 4 assign" # A=1
|
||||
"5 5 reserved-word 'issue #231'" # )
|
||||
"5 5 reserved-word" # )
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user