summaryrefslogtreecommitdiff
path: root/lua/lvim/lsp/handlers.lua
diff options
context:
space:
mode:
authorkylo252 <[email protected]>2021-11-10 11:14:32 +0100
committerkylo252 <[email protected]>2021-11-10 11:14:32 +0100
commita57e34a85edc8fc15a5c06640a15b0a0fec89d91 (patch)
tree55abec722051caacacb4b15db9c69e9b6e4f3ec7 /lua/lvim/lsp/handlers.lua
parent3d146bd4e96d9fcb24aa0bbb2089219aa5b52fcb (diff)
parent605c14e49996f635234b1157a96580448deb1160 (diff)
Merge branch 'rolling'
Diffstat (limited to 'lua/lvim/lsp/handlers.lua')
-rw-r--r--lua/lvim/lsp/handlers.lua10
1 files changed, 0 insertions, 10 deletions
diff --git a/lua/lvim/lsp/handlers.lua b/lua/lvim/lsp/handlers.lua
index 59f15c1c..27ce8589 100644
--- a/lua/lvim/lsp/handlers.lua
+++ b/lua/lvim/lsp/handlers.lua
@@ -36,16 +36,6 @@ function M.setup()
if not vim.api.nvim_buf_is_loaded(bufnr) then
return
end
-
- local sign_names = {
- "DiagnosticSignError",
- "DiagnosticSignWarn",
- "DiagnosticSignInfo",
- "DiagnosticSignHint",
- }
- for i, sign in ipairs(lvim.lsp.diagnostics.signs.values) do
- vim.fn.sign_define(sign_names[i], { texthl = sign_names[i], text = sign.text, numhl = "" })
- end
vim_diag.show(namespace, bufnr, diagnostics, config)
else
vim.lsp.diagnostic.save(diagnostics, bufnr, ctx.client_id)