diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-09-08 20:55:06 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-09-08 20:55:06 +0200 |
commit | 7ee80f766130f22598c928415c92ec612a8f18cf (patch) | |
tree | 96e6b8d24a23119e5c671e797bebc5d6f0bd3024 /src/testdir/test_mksession.vim | |
parent | ce90e36f5969e733a0a919f1736453332c33aad6 (diff) | |
download | vim-git-7ee80f766130f22598c928415c92ec612a8f18cf.tar.gz |
patch 8.1.2012: more functions can be used as methodsv8.1.2012
Problem: More functions can be used as methods.
Solution: Make terminal functions usable as a method. Fix term_getattr().
Diffstat (limited to 'src/testdir/test_mksession.vim')
-rw-r--r-- | src/testdir/test_mksession.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testdir/test_mksession.vim b/src/testdir/test_mksession.vim index 62f14547b..58e9cddec 100644 --- a/src/testdir/test_mksession.vim +++ b/src/testdir/test_mksession.vim @@ -408,7 +408,7 @@ endfunc func Test_mksession_terminal_restore_other() terminal - call term_setrestore(bufnr('%'), 'other') + eval bufnr('%')->term_setrestore('other') mksession! Xtest_mks.out let lines = readfile('Xtest_mks.out') let term_cmd = '' |