comparison src/testdir/test_cursorline.vim @ 25517:b04e76e66128 v8.2.3295

patch 8.2.3295: 'cursorline' should not apply to 'breakindent' Commit: https://github.com/vim/vim/commit/4f33bc20d7d5444e44d13f954e8219ad1abd26ef Author: zeertzjq <zeertzjq@outlook.com> Date: Thu Aug 5 17:57:02 2021 +0200 patch 8.2.3295: 'cursorline' should not apply to 'breakindent' Problem: 'cursorline' should not apply to 'breakindent'. Solution: Make 'cursorline' apply to 'breakindent' and 'showbreak' consistently. (closes #8684)
author Bram Moolenaar <Bram@vim.org>
date Thu, 05 Aug 2021 18:00:05 +0200
parents c11fc61b0872
children 95d6e3c9aa1e
comparison
equal deleted inserted replaced
25516:3abc660b43f4 25517:b04e76e66128
190 call TermWait(buf) 190 call TermWait(buf)
191 call VerifyScreenDump(buf, 'Test_'. filename. '_17', {}) 191 call VerifyScreenDump(buf, 'Test_'. filename. '_17', {})
192 call term_sendkeys(buf, "gj") 192 call term_sendkeys(buf, "gj")
193 call TermWait(buf) 193 call TermWait(buf)
194 call VerifyScreenDump(buf, 'Test_'. filename. '_18', {}) 194 call VerifyScreenDump(buf, 'Test_'. filename. '_18', {})
195 call term_sendkeys(buf, ":set breakindent& foldcolumn& signcolumn&\<cr>")
195 endif 196 endif
197 " showbreak should not be highlighted with CursorLine when 'number' is off
198 call term_sendkeys(buf, "gg0")
199 call term_sendkeys(buf, ":set list cursorlineopt=screenline listchars=space:-\<cr>")
200 call term_sendkeys(buf, ":set nonumber\<cr>")
201 call VerifyScreenDump(buf, 'Test_'. filename. '_19', {})
202 call term_sendkeys(buf, "fagj")
203 call TermWait(buf)
204 call VerifyScreenDump(buf, 'Test_'. filename. '_20', {})
205 call term_sendkeys(buf, "gj")
206 call TermWait(buf)
207 call VerifyScreenDump(buf, 'Test_'. filename. '_21', {})
208 call term_sendkeys(buf, "gj")
209 call TermWait(buf)
210 call VerifyScreenDump(buf, 'Test_'. filename. '_22', {})
211 call term_sendkeys(buf, "gj")
212 call TermWait(buf)
213 call VerifyScreenDump(buf, 'Test_'. filename. '_23', {})
214 call term_sendkeys(buf, "gj")
215 call TermWait(buf)
216 call VerifyScreenDump(buf, 'Test_'. filename. '_24', {})
217 call term_sendkeys(buf, ":set list& cursorlineopt& listchars&\<cr>")
196 218
197 call StopVimInTerminal(buf) 219 call StopVimInTerminal(buf)
198 call delete(filename) 220 call delete(filename)
199 endfunc 221 endfunc
200 222