This commit is contained in:
Zacharias-Brohn
2025-12-08 19:04:57 +01:00
parent 3e7fce3e14
commit 533e740964
15 changed files with 336 additions and 56 deletions
+9 -2
View File
@@ -5,6 +5,7 @@ autocmd("LspAttach", {
local client = vim.lsp.get_client_by_id( args.data.client_id )
if client then
vim.lsp.document_color.enable(false, args.buf, { "background" })
-- require("workspace-diagnostics").populate_workspace_diagnostics(client, 0)
end
end,
})
@@ -13,8 +14,14 @@ autocmd("VimLeave", {
command = "set guicursor=a:ver25-Cursor"
})
autocmd({ "CursorHold" }, {
-- autocmd({ "CursorHold" }, {
-- callback = function()
-- vim.diagnostic.open_float(nil, { focus = false })
-- end
-- })
autocmd({ "InsertLeave" }, {
callback = function()
vim.diagnostic.open_float(nil, { focus = false })
require("lint").try_lint()
end
})