mirror of
https://github.com/amix/vimrc
synced 2025-02-28 14:12:51 +08:00
16 lines
249 B
Bash
16 lines
249 B
Bash
#!/usr/bin/env bash
|
|
|
|
SPACED=$(grep -REn '^ .+' --include '*.snippets' snippets)
|
|
|
|
if [[ $? -ne 1 ]]; then
|
|
echo These snippet lines are indented with spaces:
|
|
echo
|
|
echo "$SPACED"
|
|
echo
|
|
echo Tests failed!
|
|
exit 1
|
|
fi
|
|
|
|
echo Tests passed!
|
|
exit 0
|