mirror of
https://github.com/vim/vim.git
synced 2025-10-16 07:24:23 -04:00
runtime(sh): Update syntax, fix single-quoted strings in parameter expansions
Ignore single-quoted backslash escape sequences in parameter expansions. \' is not an escaped single quote in ${foo:-'word\'}. closes: #17261 Signed-off-by: Doug Kearns <dougkearns@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
13bd43c1e5
commit
fe22867ef5
4
runtime/syntax/testdir/input/sh_quoting.sh
Normal file
4
runtime/syntax/testdir/input/sh_quoting.sh
Normal file
@@ -0,0 +1,4 @@
|
||||
#!/bin/dash
|
||||
|
||||
echo ${foo:-'string \'}
|
||||
|
Reference in New Issue
Block a user