vim.lsp.handlers["$/progress"] = function() end vim.lsp.handlers["window/showMessage"] = function(_, result, ctx, config) local severity = vim.lsp.protocol.MessageType if result.type == severity.Error then vim.notify(result.message, vim.log.levels.ERROR) end -- ignore Info, Log, and Warning end return { lua_ls = require("lsp.lua"), jdtls = require("lsp.java"), clangd = require("lsp.clangd"), ts_ls = require("lsp.ts_ls"), }