cracked update

This commit is contained in:
Zacharias-Brohn
2025-12-03 21:57:32 +01:00
parent ea80295aee
commit 69e5a05062
40 changed files with 1372 additions and 1224 deletions
+12 -9
View File
@@ -1,17 +1,20 @@
local autocmd = vim.api.nvim_create_autocmd
autocmd("LspAttach", {
callback = function(args)
vim.lsp.document_color.enable(false, args.buf, { "background" })
end,
callback = function(args)
local client = vim.lsp.get_client_by_id( args.data.client_id )
if client then
vim.lsp.document_color.enable(false, args.buf, { "background" })
end
end,
})
vim.api.nvim_create_autocmd("VimLeave", {
command = "set guicursor=a:ver25-Cursor"
autocmd("VimLeave", {
command = "set guicursor=a:ver25-Cursor"
})
vim.api.nvim_create_autocmd({ "CursorHold", "CursorHoldI" }, {
callback = function()
vim.diagnostic.open_float(nil, { focus = false })
end
autocmd({ "CursorHold" }, {
callback = function()
vim.diagnostic.open_float(nil, { focus = false })
end
})