Mercurial > vim
comparison src/testdir/test_functions.vim @ 27368:7ec64e4539af v8.2.4212
patch 8.2.4212: window title test still fails in some configurations
Commit: https://github.com/vim/vim/commit/1450112eef2eda211d398d6d7ac03f7a29fa4f55
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Jan 24 22:32:28 2022 +0000
patch 8.2.4212: window title test still fails in some configurations
Problem: Window title test still fails in some configurations.
Solution: Explicitly set the 'title' option.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 24 Jan 2022 23:45:04 +0100 |
parents | 66046931fa58 |
children | 557a50b0d10b |
comparison
equal
deleted
inserted
replaced
27367:198520f18300 | 27368:7ec64e4539af |
---|---|
1635 if !has('title') || empty(&t_ts) | 1635 if !has('title') || empty(&t_ts) |
1636 throw "Skipped: can't get/set title" | 1636 throw "Skipped: can't get/set title" |
1637 endif | 1637 endif |
1638 | 1638 |
1639 let lines =<< trim END | 1639 let lines =<< trim END |
1640 set title | |
1640 edit Xa.txt | 1641 edit Xa.txt |
1641 let g:buf = bufadd('Xb.txt') | 1642 let g:buf = bufadd('Xb.txt') |
1642 inoremap <F2> <C-R>=setbufvar(g:buf, '&autoindent', 1) ?? ''<CR> | 1643 inoremap <F2> <C-R>=setbufvar(g:buf, '&autoindent', 1) ?? ''<CR> |
1643 END | 1644 END |
1644 call writefile(lines, 'Xsetbufvar') | 1645 call writefile(lines, 'Xsetbufvar') |