lspserver.diagsMap->extend({[$'{bnr}']: diag_by_lnum})
ProcessNewDiags(lspserver, bnr)
+
+ # Notify user scripts that diags has been updated
+ if exists('#User#LspDiagsUpdated')
+ doautocmd <nomodeline> User LspDiagsUpdated
+ endif
enddef
# get the count of error in the current buffer
attaches to a buffer. Can be used to configure
buffer-local mappings or options.
+ *LspDiagsUpdated*
+LspDiagsUpdated A |User| autocommand invoked when new
+ diagnostics are received from the language
+ server. This is invoked after the LSP client
+ has processed the diagnostics.
+
vim:tw=78:ts=8:noet:ft=help:norl: