mirror of
https://github.com/vim/vim.git
synced 2025-10-28 09:27:14 -04:00
patch 9.1.1865: tests: do not notice lines containing only a tab
Problem: tests: test_codestyle does not notice lines containing only a
tab
Solution: Fix the whitespace issue in eval.txt, update test_codestyle to
notice such issues (Hirohito Higashi)
closes: #18595
Signed-off-by: Hirohito Higashi <h.east.727@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
1b565eee6d
commit
5b5290ec02
@@ -1,4 +1,4 @@
|
||||
*eval.txt* For Vim version 9.1. Last change: 2025 Oct 16
|
||||
*eval.txt* For Vim version 9.1. Last change: 2025 Oct 18
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -5356,30 +5356,30 @@ OSC52 command: >vim
|
||||
func Available()
|
||||
return "*"
|
||||
endfunc
|
||||
|
||||
|
||||
func Paste(reg, type)
|
||||
" If implicit access, don't do anything
|
||||
if a:type == "implicit"
|
||||
return "previous"
|
||||
endif
|
||||
|
||||
|
||||
augroup OSC
|
||||
autocmd!
|
||||
autocmd TermResponseAll osc ++once call feedkeys("\<F30>", '!')
|
||||
augroup END
|
||||
|
||||
|
||||
" Send command
|
||||
call echoraw("\<Esc>]52;;?\<Esc>\\")
|
||||
|
||||
|
||||
" Wait until autocmd is triggered
|
||||
while getchar(-1) != "\<F30>"
|
||||
endwhile
|
||||
|
||||
|
||||
autocmd! OSC
|
||||
|
||||
|
||||
" Extract the base64 stuff
|
||||
let l:stuff = matchstr(v:termosc, '52;.\+;\zs[A-Za-z0-9+/=]\+')
|
||||
|
||||
|
||||
return ("", blob2str(base64_decode(l:stuff)))
|
||||
endfunc
|
||||
|
||||
|
||||
Reference in New Issue
Block a user