'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:
Daniel Shahaf
2016-06-05 16:58:12 +00:00
4 changed files with 9 additions and 4 deletions

View File

@@ -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
)

View File

@@ -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
)

View File

@@ -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" # )
)