aboutsummaryrefslogtreecommitdiff
path: root/test/old/testdir/term_util.vim
diff options
context:
space:
mode:
Diffstat (limited to 'test/old/testdir/term_util.vim')
-rw-r--r--test/old/testdir/term_util.vim13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/old/testdir/term_util.vim b/test/old/testdir/term_util.vim
new file mode 100644
index 0000000000..5ff09e25b4
--- /dev/null
+++ b/test/old/testdir/term_util.vim
@@ -0,0 +1,13 @@
+" Functions about terminal shared by several tests
+
+" Only load this script once.
+if exists('*CanRunVimInTerminal')
+ finish
+endif
+
+func CanRunVimInTerminal()
+ " Nvim: always false, we use Lua screen-tests instead.
+ return 0
+endfunc
+
+" vim: shiftwidth=2 sts=2 expandtab