mirror of
				https://github.com/neovim/neovim.git
				synced 2025-10-26 04:17:01 +00:00 
			
		
		
		
	fix(event-loop): duplicate display updating logic in vgetorpeek() (#17913)
This commit is contained in:
		| @@ -1589,6 +1589,18 @@ describe('API', function() | ||||
|       feed(':digraphs<cr>') | ||||
|       eq({mode='rm', blocking=true}, nvim("get_mode")) | ||||
|     end) | ||||
|  | ||||
|     it('after <Nop> mapping returns blocking=false #17257', function() | ||||
|       command('nnoremap <F2> <Nop>') | ||||
|       feed('<F2>') | ||||
|       eq({mode='n', blocking=false}, nvim("get_mode")) | ||||
|     end) | ||||
|  | ||||
|     it('after empty string <expr> mapping returns blocking=false #17257', function() | ||||
|       command('nnoremap <expr> <F2> ""') | ||||
|       feed('<F2>') | ||||
|       eq({mode='n', blocking=false}, nvim("get_mode")) | ||||
|     end) | ||||
|   end) | ||||
|  | ||||
|   describe('RPC (K_EVENT)', function() | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 zeertzjq
					zeertzjq