nvim: lsp sign

This commit is contained in:
Daniel Lundin 2021-04-19 17:11:02 +02:00
parent 4f258de316
commit 9f58b35f84

View file

@ -7,13 +7,13 @@ vim.lsp.handlers["textDocument/publishDiagnostics"] =
vim.lsp.diagnostic.on_publish_diagnostics, vim.lsp.diagnostic.on_publish_diagnostics,
{ {
update_in_insert = false, update_in_insert = false,
virtual_text = {prefix = ""} virtual_text = {prefix = "‹❮❰ 🔥" }
} }
) )
vim.fn.sign_define( vim.fn.sign_define(
"LspDiagnosticsSignError", "LspDiagnosticsSignError",
{ {
text = "🛑", text = "🔥",
texthl = "LspDiagnosticsSignError" texthl = "LspDiagnosticsSignError"
} }
) )