main: Honor shwordsplit when expanding parameters

Closes #687, #818.
This commit is contained in:
Matthew Martin
2021-06-28 23:02:31 -05:00
parent 0e1bb14452
commit f0e6a8ef5c
3 changed files with 44 additions and 2 deletions

View File

@@ -36,5 +36,5 @@ ed() { command ed "$@" }
BUFFER=$'$EDITOR'
expected_region_highlight=(
'1 7 function "issue #687"' # $EDITOR
'1 7 function' # $EDITOR
)