neovimRequireCheckHook: Fix dependency list
Only the first space in $dependencies was subsituted. https://www.gnu.org/software/bash/manual/bash.html#Shell-Parameter-Expansion > ${parameter/pattern/string} > ${parameter//pattern/string} > ${parameter/#pattern/string} > ${parameter/%pattern/string} > ... > In the first form above, only the first match is replaced. If > there are two slashes separating parameter and pattern (the second form > above), all matches of pattern are replaced with string.
This commit is contained in:
@@ -10,7 +10,7 @@ neovimRequireCheckHook () {
|
||||
# editorconfig-checker-disable
|
||||
export HOME="$TMPDIR"
|
||||
@nvimBinary@ -es --headless -n -u NONE -i NONE --clean -V1 \
|
||||
--cmd "set rtp+=$out,${dependencies/ /,}" \
|
||||
--cmd "set rtp+=$out,${dependencies// /,}" \
|
||||
--cmd "lua require('$nvimRequireCheck')"
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user