feat(LSP): Delete erroneous argument `buffer`

The argument `buffer` us used for another type of autocmd's, those with
whole buffer scope.
This commit is contained in:
Dionisio E Alonso 2024-01-26 13:48:02 -03:00
parent 5971e6e019
commit 97e4052934
1 changed files with 0 additions and 1 deletions

View File

@ -26,7 +26,6 @@ vim.api.nvim_create_autocmd("LspAttach", {
local client = vim.lsp.get_client_by_id(args.data.client_id)
vim.api.nvim_create_autocmd({ "CursorHold", "CursorHoldI" }, {
group = vim.api.nvim_create_augroup("Diagnostics", { clear = true }),
buffer = bufnr,
callback = function()
vim.diagnostic.open_float({
focusable = false,