nvim: Improve diagnostics gutter rendering

This commit is contained in:
Marty Oehme 2023-03-22 10:21:52 +01:00
parent 6b28e6417b
commit d1b0dfe112
Signed by: Marty
GPG key ID: EDBF2ED917B2EF6A

View file

@ -1,6 +1,10 @@
local lsp = require("lsp-zero")
vim.diagnostic.config { virtual_text = true }
vim.fn.sign_define("DiagnosticSignError", { text = "", texthl = "DiagnosticSignError" })
vim.fn.sign_define("DiagnosticSignWarn", { text = "", texthl = "DiagnosticSignWarn" })
vim.fn.sign_define("DiagnosticSignInfo", { text = "", texthl = "DiagnosticSignInfo" })
vim.fn.sign_define("DiagnosticSignHint", { text = "", texthl = "DiagnosticSignHint" })
lsp.ensure_installed({
'arduino_language_server', 'bashls', 'beancount', 'clangd', 'dockerls',