aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/lsp/buf.lua
diff options
context:
space:
mode:
authorMathias Fußenegger <mfussenegger@users.noreply.github.com>2020-04-25 15:46:58 +0200
committerGitHub <noreply@github.com>2020-04-25 15:46:58 +0200
commitef0398fe88e6cc74f33fb20519997774168d7832 (patch)
tree08dcf126deda4aefeb7fbd016517532896e6973f /runtime/lua/vim/lsp/buf.lua
parent78d58eaf61b361ed9b2849ecc1afc99897c01058 (diff)
downloadrneovim-ef0398fe88e6cc74f33fb20519997774168d7832.tar.gz
rneovim-ef0398fe88e6cc74f33fb20519997774168d7832.tar.bz2
rneovim-ef0398fe88e6cc74f33fb20519997774168d7832.zip
LSP: Expose diagnostics grouped by bufnr (#11932)
Expose `vim.lsp.buf.diagnostics_by_buf` This makes it easier to customize the diagnostics behavior. For example to defer the update they can override the `textDocument/publishDiagnostics` callback to only call `buf_diagnostics_save_positions` and then defer the other actions to a autocmd event.
Diffstat (limited to 'runtime/lua/vim/lsp/buf.lua')
0 files changed, 0 insertions, 0 deletions