Fix an issue in highlighting of references. (#506)
Fix an issue in highlighting of references. (#506)

The client tracks whether it has received a response using a global
'pending' variable. This commit ensures the client clears the 'pending'
variable in the case where it has received a response from the server
but that response was an error response, so that future requests actually
go through.
prabirshrestha/vim-lsp,prabirshrestha/vim-lsp