mirror of
				https://github.com/neovim/neovim.git
				synced 2025-10-26 12:27:24 +00:00 
			
		
		
		
	fix(lsp): reset the applied hints on refresh request #32446
				
					
				
			This commit is contained in:
		| @@ -94,6 +94,9 @@ function M.on_refresh(err, _, ctx) | ||||
|   for _, bufnr in ipairs(vim.lsp.get_buffers_by_client_id(ctx.client_id)) do | ||||
|     for _, winid in ipairs(api.nvim_list_wins()) do | ||||
|       if api.nvim_win_get_buf(winid) == bufnr then | ||||
|         if bufstates[bufnr] then | ||||
|           bufstates[bufnr].applied = {} | ||||
|         end | ||||
|         util._refresh(ms.textDocument_inlayHint, { bufnr = bufnr }) | ||||
|       end | ||||
|     end | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Yi Ming
					Yi Ming