]> Sergey Matveev's repositories - vim-lsp.git/commit
Ignore invalid lnum and column for prop_add
authorAndreas Louv <andreas@louv.dk>
Thu, 30 Mar 2023 16:07:49 +0000 (18:07 +0200)
committerAndreas Louv <andreas@louv.dk>
Thu, 30 Mar 2023 17:41:17 +0000 (19:41 +0200)
commit3661dc0cb6fe1121be1f6c70d6e05d082509ea40
treed49a992dfff5936e9ba1173ae3911650ed4398fe
parent498680aef108f44916186c18ab75f5b4f88c790c
Ignore invalid lnum and column for prop_add

Diagnostics arrive asynchronous and the document might have changed
before they reach the client.

This could cause the line number or column to be invalid when the
diagnostics arrive.

Ignoring these errors isn't a big deal as new diagnostics will be send
by the server shortly. And when there isn't any document changes, the
client will be updated ASAP.
autoload/lsp/diag.vim