diff --git a/home/vim/lua/ambroisie/lsp.lua b/home/vim/lua/ambroisie/lsp.lua index 260ef8d..8d347d3 100644 --- a/home/vim/lua/ambroisie/lsp.lua +++ b/home/vim/lua/ambroisie/lsp.lua @@ -21,17 +21,6 @@ M.on_attach = function(client, bufnr) severity_sort = true, }) - -- Show diagnostics on "hover" - local augroup = vim.api.nvim_create_augroup("DiagnosticsHover", {}) - vim.api.nvim_clear_autocmds({ group = augroup, buffer = bufnr }) - vim.api.nvim_create_autocmd({"CursorHold", "CursorHoldI"}, { - group = augroup, - buffer = bufnr, - callback = function() - vim.diagnostic.open_float(nil, {focus=false, scope="cursor"}) - end, - }) - -- Format on save lsp_format.on_attach(client, bufnr)