Feature: blockquote (> ) better joining (J) and hard wrapping (Issue #915)

Wrap: autoadd a new `> ` on new create lines with `setlocal comments+=n:>`
Join: autoremove the inter `> ` with  `setlocal formatoptions+=j`
This commit is contained in:
Tinmarino
2020-07-26 17:55:47 -04:00
parent 536184c59b
commit d5964f0c84
4 changed files with 52 additions and 5 deletions

View File

@ -172,13 +172,13 @@ runVint() {
local err=0
cmd="vint -s . && vint -s test/vimrc"
if echo "$vers" | grep "local" > /dev/null; then
echo "Running Vint: $cmd : in $wiki_path"
echo -e "\nRunning Vint: $cmd : in $wiki_path"
pushd $wiki_path > /dev/null
$cmd
err=$(( $err | $? ))
popd > /dev/null
else
echo "Starting Docker container and running Vint: $cmd"
echo -e "\nStarting Docker container and running Vint: $cmd"
docker run -a stdout "${flags[@]}" bash -c "$cmd"
err=$(( $err | $? ))
fi