mirror of
https://github.com/neovim/neovim.git
synced 2025-09-05 19:08:15 +00:00
test(lsp/utils): prevent CursorMoved closing float immediately (#32782)
This fixes the flakiness observed in https://github.com/neovim/neovim/actions/runs/13733258040/job/38413757162?pr=32780
This commit is contained in:
@@ -368,6 +368,7 @@ describe('vim.lsp.util', function()
|
||||
]])
|
||||
-- Correct height when float inherits 'conceallevel' >= 2 #32639
|
||||
command('close | set conceallevel=2')
|
||||
feed('<Ignore>') -- Prevent CursorMoved closing the next float immediately
|
||||
exec_lua([[
|
||||
vim.lsp.util.open_floating_preview({ '```lua', 'local foo', '```' }, 'markdown', {
|
||||
border = 'single',
|
||||
|
Reference in New Issue
Block a user