call prop_type_add( 'prop', #{ highlight: 'Error' } ) let g:multi_line_text = repeat( 'x', &columns * 4 ) let g:prop_id = v:null function! Update() if line( '.' ) == 1 let g:prop_id = prop_add( 1, 0, #{ type: 'prop', text_algin: 'right', text_wrap: 'wrap', text: g:multi_line_text } ) elseif g:prop_id != v:null call prop_remove( #{ id: g:prop_id } ) let g:prop_id = v:null endif endfunction autocmd CursorMoved * call Update()
vim --clean -S test.vim test.vimj - move the cursor down 1 lineActual behaviour is the cursor is drawn on line 6 (though reports line 2)
Cursor is drawn on line 2.
9.0.193
macOS arm64
No response
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
Closed #10898 as completed via 326c5d3.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()