# HG changeset patch # User zegervdv # Date 1623690429 -7200 # Node ID 39744843446d2af469b6fe3a696ec5382ebaad10 # Parent 3f2b7b399deed59432cb0675d9caea3f16627a48 Use finer line symbol for LSP diagnostics diff -r 3f2b7b399dee -r 39744843446d dot_config/nvim/config.lua --- a/dot_config/nvim/config.lua Mon Jun 14 18:38:01 2021 +0200 +++ b/dot_config/nvim/config.lua Mon Jun 14 19:07:09 2021 +0200 @@ -357,10 +357,10 @@ inoremap { '', vim.lsp.buf.signature_help, silent = true } - vim.cmd [[ sign define LspDiagnosticsSignError text=▊ texthl=LspDiagnosticsSignError linehl= numhl= ]] - vim.cmd [[ sign define LspDiagnosticsSignWarning text=▊ texthl=LspDiagnosticsSignWarning linehl= numhl= ]] - vim.cmd [[ sign define LspDiagnosticsSignInformation text=▊ texthl=LspDiagnosticsSignInformation linehl= numhl= ]] - vim.cmd [[ sign define LspDiagnosticsSignHint text=▊ texthl=LspDiagnosticsSignHint linehl= numhl= ]] + vim.fn.sign_define("LspDiagnosticsSignError", { texthl = "LspDiagnosticsSignError", linehl="", numhl = "", text = "▎" }) + vim.fn.sign_define("LspDiagnosticsSignWarning", { texthl = "LspDiagnosticsSignWarning", linehl="", numhl = "", text = "▎" }) + vim.fn.sign_define("LspDiagnosticsSignInformation", { texthl = "LspDiagnosticsSignInformation", linehl="", numhl = "", text = "▎" }) + vim.fn.sign_define("LspDiagnosticsSignHint", { texthl = "LspDiagnosticsSignHint", linehl="", numhl = "", text = "▎" }) end vim.lsp.handlers['textDocument/formatting'] = function(err, _, result, _, bufnr)