chore: workflow improvments
This commit is contained in:
parent
d69fb57aa6
commit
c86613b65b
6 changed files with 91 additions and 25 deletions
|
|
@ -1,6 +1,15 @@
|
|||
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"),
|
||||
lua_ls = require("lsp.lua"),
|
||||
jdtls = require("lsp.java"),
|
||||
clangd = require("lsp.clangd"),
|
||||
ts_ls = require("lsp.ts_ls"),
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue