workspace diagnostics: work with nested projects in repo
This commit is contained in:
parent
8981f39679
commit
0347d5d17e
3 changed files with 19 additions and 8 deletions
|
@ -60,6 +60,8 @@ local on_attach = function(args)
|
|||
vim.cmd([[autocmd CursorHoldI <buffer> lua vim.lsp.buf.document_highlight()]])
|
||||
vim.cmd([[autocmd CursorMoved <buffer> lua vim.lsp.buf.clear_references()]])
|
||||
end
|
||||
|
||||
require("workspace-diagnostics").populate_workspace_diagnostics(client, args.buf)
|
||||
end
|
||||
|
||||
vim.api.nvim_create_autocmd("LspAttach", { callback = on_attach })
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue