We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7659541 commit 1ea333aCopy full SHA for 1ea333a
dev/do/test-indent
@@ -9,6 +9,12 @@ if [ "$EDITOR" != 'vim' ] && [ "$EDITOR" != 'nvim' ]; then
9
exit 1
10
fi
11
12
+if [ "$EDITOR" = 'vim' ]; then
13
+ editor_opts=('--not-a-term')
14
+else
15
+ editor_opts=()
16
+fi
17
+
18
PASSED=()
19
FAILED=()
20
SKIPPED=()
@@ -51,7 +57,7 @@ run_test_case() {
51
57
test_cmd=('+normal! gg=G')
52
58
53
59
54
- "$EDITOR" --clean -NXnu test-vimrc.vim "${test_cmd[@]}" '+xall!' -- "$actual_file"
60
+ "$EDITOR" "${editor_opts[@]}" --clean -NXnu test-vimrc.vim "${test_cmd[@]}" '+xall!' -- "$actual_file"
55
61
56
62
diff --color=always -u "$expected_file" "$actual_file"
63
0 commit comments