neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit b2fa51bf15252cced8032f5a995ba5252840d7d0
parent c38c88edfd015e8badbd11941030d7d85b5b1dc7
Author: zeertzjq <zeertzjq@outlook.com>
Date:   Sat,  8 Mar 2025 11:50:52 +0800

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
Diffstat:
Mtest/functional/plugin/lsp/utils_spec.lua | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/test/functional/plugin/lsp/utils_spec.lua b/test/functional/plugin/lsp/utils_spec.lua @@ -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',