diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-07-29 22:10:23 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-07-29 22:10:23 +0200 |
commit | 4641a122f2ffb820ec6d05526532ab38930c5286 (patch) | |
tree | 638c53ae9b77dae4daf7a25e36031739e3886263 /src/testdir/check.vim | |
parent | eee9f65b2a213e9031f172d9d3b22adad6cb985d (diff) |
patch 8.1.1776: text added with a job isn't displayedv8.1.1776
Problem: Text added with a job to another buffer isn't displayed.
Solution: Update topline after adding a line. (closes #4745)
Diffstat (limited to 'src/testdir/check.vim')
-rw-r--r-- | src/testdir/check.vim | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/testdir/check.vim b/src/testdir/check.vim index 7f37f1c96e..48dbd85396 100644 --- a/src/testdir/check.vim +++ b/src/testdir/check.vim @@ -21,3 +21,19 @@ func CheckFunction(name) throw 'Skipped: ' .. a:name .. ' function missing' endif endfunc + +" Command to check for running on MS-Windows +command CheckMSWindows call CheckMSWindows() +func CheckMSWindows() + if !has('win32') + throw 'Skipped: only works on MS-Windows' + endif +endfunc + +" Command to check for running on Unix +command CheckUnix call CheckUnix() +func CheckUnix() + if !has('unix') + throw 'Skipped: only works on Unix' + endif +endfunc |