nvim: Improve diagnostics gutter rendering
This commit is contained in:
parent
6b28e6417b
commit
d1b0dfe112
1 changed files with 4 additions and 0 deletions
|
@ -1,6 +1,10 @@
|
||||||
local lsp = require("lsp-zero")
|
local lsp = require("lsp-zero")
|
||||||
|
|
||||||
vim.diagnostic.config { virtual_text = true }
|
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({
|
lsp.ensure_installed({
|
||||||
'arduino_language_server', 'bashls', 'beancount', 'clangd', 'dockerls',
|
'arduino_language_server', 'bashls', 'beancount', 'clangd', 'dockerls',
|
||||||
|
|
Loading…
Reference in a new issue